您的位置:首页 > 移动开发 > Unity3D

Unity 对话系统插件学习笔记

2017-01-13 17:02 836 查看
具体详见:文档:http://www.pixelcrushers.com/dialogue-system-documentation/

                    视频:http://www.unity3d.net/video/2016/0721/943.html

一、Dialogue UI:

1、对话GUI界面制作:



2、Bark UI:

Dialogue Manager:

Dialogue DataBase: 

3、Unity UI

与GUI类似,唯一好处是位置可以随意摆放

二、Sequence

1、作用:对话中插入动画、声音、相机视角转换
2、例子:

相机移动:Camera Angles

Camera(Closeup,“名字”,time)@Totle Time;

三、Quest Condition:

1、作用:用于任务中的条件判断

CurrentQuestState("Thin the Ranks") == "unassigned"

CurrentQuestEntryState("Get the Coordinates", 1) == "active"
CurrentQuestState("Thin the Ranks") == "active") and (Variable["Kills"] >= 5

Script:

SetQuestState("Thin the Ranks", "success"); Variable["Alert"] = "Completed: Thin the Ranks"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: