-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://doublsb.tistory.com/88 - List<string>의 형태로 데이터 전달
- Loading branch information
Showing
5 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using Doublsb.Dialog; | ||
|
||
public class TestMessage : MonoBehaviour | ||
{ | ||
public DialogManager DialogManager; | ||
public Character Character; | ||
|
||
private void Awake() | ||
{ | ||
var dialogTexts = new List<string>(); | ||
|
||
dialogTexts.Add("/size:up/안녕. /size:down/내 이름은 /color:red/리/color:white/이다."); | ||
dialogTexts.Add("나는 랩을 할 수 있지. /speed:0.02/속사포랩이나가신다나는아무튼트랩을하고있다 /speed:0.1/Ya /wait:0.1/ Ya."); | ||
dialogTexts.Add("봤나? 내 솜씨는 정말이지, 아주 아름답/close/다고 할 수 있다."); | ||
dialogTexts.Add("/emote:Sad/내 말. 자르지 말아줄래."); | ||
dialogTexts.Add("/emote:Normal/니가 누르기 전까지 말하지 않을 것이다. /click//emote:Happy/옳지."); | ||
dialogTexts.Add("아주 고오오오오맙다."); | ||
|
||
DialogManager.Show(dialogTexts, Character); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.