Exemple #1
0
 public void Awake()
 {
     _instance = this;
     trl       = Application.dataPath + "/lyricJson.txt";
     json      = File.ReadAllText(trl);
     jobj      = JObject.Parse(json);
     jarry     = (JArray)jobj["LyricSheet"];
     state     = State.notalk;
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     SceneManager.sceneLoaded += OnSceneLoaded;
     uiCheck();
     diagSys = dialogueObject.GetComponent <dialogueSystem>();
     dialogueSystem.onDialogEndEvent   += onDialogEnd;
     dialogueSystem.onDialogStartEvent += onDialogStart;
     QuestInitialize();
 }