Dialogue System Manual
- import DialogueSystem_v1.0.0.unitypackage in untiy
- In Assets/Prefs/ImportPrefs drag DialoguePref_v1.0.0 and Manager_v1.0.0 into Hierarchy
- create a Event System + Standalone Input Module Component
- In DialoguePref_v1.0.0/DialoguBox, add Manager_v1.0.0 to the Event Trigger, and select DialogueManager.BoxClick Function
- In DialoguePref_v1.0.0/DialoguBox/Buttons , add Manager_v1.0.0 to the Event Trigger to the Auto ,Set ,History, and Hide. and add ButtonManager.ButtonAuto/ButtonSet/ButtonHistory/ButtonHide functions to them.
- In Manager_v1.0.0, for the Dialogue Manager Script, attach dialogue cvs file to the Data File, add Tachie to Portrait, Avatar to Avatar, Name to Character Name, and Content to Content
- 分支选项父组件及按钮预制件 add Options to Parent Group
- For the Button Manager in Manager_v1.0.0, add Auto to Button Image, add DialogueBox to Dialogue Box, History to History Panel, History/RoolRect/Scrollbar to History Items, Setting to Setting Panel
-Then it’s ready to go!
for the dialogue xlsx file, 内容按照“编号,标志,名称,文本,跳转,结束”的顺序。
标志: W - 对话 name + dialogue
T - 想法 dialogue
O - 选项
END - 结束
(文本里不可出现英文逗号,导出cvs文件会用,分割。)
如果完成文本 save as “CVS UTF-8” type
put the cvs in untiy and to the Manager_v1.0.0/Dialogue Manager/Data File.
set 出场人物列表in Manager_v1.0.0/Dialogue Manager, should be the same as the character showed in ur cvs file.
Audio Manager & Tachie Manager should be the same as Dialogue file.
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删