# 시트에서 불러오기(LiveLoad)

{% embed url="<https://www.youtube.com/watch?v=1Hxzgft-lTY&ab_channel=HamsterCheeseAllergy>" %}

영상 초반에 이  기능을 설명합니다. 이 기능을 사용하면 게임을 다시 재시작하거나 앱을 다시 빌드 할 필요없이 게임 내 데이터만 바꿀 수 있으므로 개발 속도가 매우 빨라집니다.

유니티는 프로젝트 규모가 커질수록 빌드나 플레이에 진입하는 시간이 길어지고 불편한데, 게임을 끄지않고 그저 이 기능을 사용하여 데이터를 수정하고 불러올 수 있다면 매우 편리하겠죠?

&#x20;***주의 : 이 기능은 일반 릴리즈에 포함시켜서는 안됩니다.*** 구글[ api는 호출 제한횟수](/unitygooglesheets/additional/api-limit.md)가 있기 때문입니다. 보안 문제도 포함됩니다.

### HamsterLib->UGS->Manager 에서 TestSheet를 생성하십시오.

![](/files/-Mez9ME2mISjWjCafQ22)

### &#x20;데이터를 Generate 하십시오.

![](/files/-Mez9my9FVLPJnrcaK7N)

### &#x20;아래와 같이 Start함수에 코드를 입력하고 구글 시트의 데이터의 데이터를 읽는지 확인하십시오.

```csharp
    void Start()
    {
        UnityGoogleSheet.LoadFromGoogle<int, TestSheet.Data>((list, map) => {
            list.ForEach(x => {
                Debug.Log(x.intValue);
            });
        }, true); 

    }
```

![Result.](/files/-MezAhzgK1Msi6QcIbpg)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shlifedev.gitbook.io/unitygooglesheets/how-to-use/live-load.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
