💻
UGS 개발문서
  • Unity Google Sheet
  • Getting Start
    • 다운로드
    • Apps Script Setup
    • GoogleDrive Setup
  • HOW TO USE
    • 시트 생성 및 데이터 만들기
    • 로컬에서 불러오기
    • 시트에서 불러오기(LiveLoad)
    • 시트에 데이터 쓰기(LiveWrite)
  • Advanced User Features
    • UGS APIs
    • Use CustomType
    • Use EnumType
    • SpreadSheet Detail
    • Use UGS on WPF, Console C# Project
  • Details
    • * API 제한사항 (할당량)
    • * 보안 주의사항
    • * 추가기능 개발
  • Examples and Tutorial
    • Awesome Sunny!
  • Trouble Shooting
    • Exception : Reference has errors 'HamsterGoogleSpreadSheet'.
    • Exception : InvalidOperationException: You are trying to read Input ...
    • Exception : index index was out of bounds of array
    • Exception : Newtonsoft.Json Confict
Powered by GitBook
On this page

Was this helpful?

  1. HOW TO USE

시트에 데이터 쓰기(LiveWrite)

런타임에 구글 시트에 데이터를 쓰는방법

Previous시트에서 불러오기(LiveLoad)NextUGS APIs

Last updated 2 years ago

Was this helpful?

게임 보안상 문제가 될 수 있으므로 아래의 과정을 거쳐야 이 기능을 사용하실 수 있게 만들었습니다.

권한을 허용하기위해 Apps Script로 이동한 후 File->Project Properties->Script Properties에 write 속성을 추가해주세요.

  • write 속성을 추가하고 값은 true로 설정해주세요

  • password 속성을 추가하고 비밀번호를 지정해주세요

이후 아래와 같이 코드를 작성하여 테스트합니다.

    void Start()
    {
        var newData = new TestSheet.Data();
        newData.index = 200;
        newData.intValue = 300;
        newData.strValue = "test";

        UnityGoogleSheet.Write<TestSheet.Data>(newData);
    }

시트에 코드 내용대로 적용 된 사진