# Unity용 대화 시스템

Dialogue System for Unity는 Unity용 분기 대화 시스템입니다. 스크립팅이 필요하지 않지만 프로그래머가 쉽게 확장할 수 있도록 설계되었으며 Disco Elysium, Yes Your Grace Snowfall 등 여러 게임에서 사용되었습니다.

<a href="https://prf.hn/l/7JOjQmj/" class="button primary">Dialogue System for Unity 받기</a> *(제휴 링크)*

***

## 통합 단계

{% hint style="info" %}
우리는 Text Animator 3.X를 Dialogue System for Unity 버전과 함께 테스트했습니다 **2.2.64.1**

Dialogue System 2.X의 모든 버전에서 작동해야 하지만 일부 파괴적 변경이 도입된 것을 발견하면 알려주세요!
{% endhint %}

모든 통합 단계는 여기와 PixelCrushers의 문서에 모두 작성되어 있습니다.

{% embed url="<https://www.pixelcrushers.com/dialogue_system/manual2x/html/text_animator.html>" %}

다음을 통해 둘 다 배울 수 있습니다 [짧은 비디오](#video-guide) 또는 [텍스트 가이드](#text-guide) 아래.

### 비디오 안내

{% embed url="<https://3857371675-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXuXUTa2X5PYuYL6yRvl1%2Fuploads%2Fff258LTw3nvqQgNfDjpp%2FTutorial%20Integration%20Dialogue%20System%20with%20Text%20Animator%203.mp4?alt=media&token=bd08b49b-1550-4996-942f-fe7be8f1aeaa>" %}

### 텍스트 안내

{% stepper %}
{% step %}

#### 프로젝트 설정

**1단계.** Dialogue System for Unity에서 TextMeshPro가 활성화되어 있는지 확인하세요

<figure><img src="/files/e5cad76795956e89baf956f547d35f59a7959cd8" alt=""><figcaption></figcaption></figure>

*(Text Animator는 TMPro 또는 UI Toolkit을 사용하므로 선호하는 것을 선택할 수 있으며 설정은 두 경우 모두 유사합니다)*

**2단계.** Dialogue System -> Third Party support에서 "Text Animator V3" 지원 패키지를 가져오세요.

<figure><img src="/files/ed0d4968ef0e9fcbc093805167b5f3688083c1b7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### 텍스트 설정

애니메이션을 적용하려는 대화 프리팹의 모든 텍스트 요소(예: NPC 자막)에 대해:

* 기본 텍스트 컴포넌트가 `TextMeshPro` (이고 UI 패널의 끊어진 참조를 다시 연결했는지 확인하세요).<br>

  <figure><img src="/files/bb13cef482f812c4d0c2b68f976f34aa6eacdc2e" alt=""><figcaption></figcaption></figure>
* 다음 항목을 추가하세요 `Text Animator` 컴포넌트를 동일한 텍스트 게임오브젝트에 추가하세요.
* 다음 항목을 추가하세요 `Typewriter` 컴포넌트(타자기 효과를 사용하려는 경우).
  {% endstep %}

{% step %}

#### 표준 UI 자막 패널 교체&#x20;

대체할 `표준 UI 자막 패널` 로 `Text Animator 자막 패널` 그리고 모든 참조가 최신인지 확인하세요.&#x20;

<figure><img src="/files/f8bbab6bd6cb5c794a055a56e80b8e7f9829b683" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
구성 요소를 수동으로 삭제하고 다시 추가하면 기존 참조가 깨질 수 있으므로 검사기의 오른쪽 상단 점(디버그 모드)을 사용해 스크립트를 더 쉽게 교체할 수 있습니다.

![](/files/6871a481c9255bcedbec41b57c189f94176fa5fe)
{% endhint %}
{% endstep %}

{% step %}

#### 계속 버튼 교체

대체할 `표준 UI 계속 버튼` 다음용으로 특별히 설계된 것으로 교체하세요 `Text Animator` by PixelCrushers, called `Text Animator Continue Button Fast Forward`.

또한 검사기에서 Typewriter 컴포넌트가 올바르게 연결되어 있는지 확인하세요.

<figure><img src="/files/43be37411263794511b2821f989ebc53d89c309f" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

***

즐기세요! 다음을 살펴보세요 [효과 추가 방법](/text-animator-unity/3.x-ko/effects/how-to-add-effects.md) 및 [글자를 동적으로 표시하고 숨기기](/text-animator-unity/3.x-ko/typewriter/show-and-hide-letters-dynamically.md) 대화에 더 많은 효과를 빠르게 추가하는 방법을 시작할 수 있습니다.


---

# 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://docs.febucci.com/text-animator-unity/3.x-ko/integrations/integrated-plugins-and-dialogues-systems/unity.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.
