> For the complete documentation index, see [llms.txt](https://shlifedev.gitbook.io/unitygooglesheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shlifedev.gitbook.io/unitygooglesheets/how-to-use/live-write.md).

# 시트에 데이터 쓰기(LiveWrite)

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

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

* write 속성을 추가하고 값은 true로 설정해주세요
* password 속성을 추가하고 비밀번호를 지정해주세요

![](/files/-Mez4lODZ8V4uxOEVFS4)

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

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

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

```

![시트에 코드 내용대로 적용 된 사진 ](/files/-Mez5qt2uhC2pEr6eNeR)

&#x20;
