// Start is called before the first frame update private void Start() { Instance = this; Actions = new Dictionary <string, Func <bool> >(); tayaSpells = Taya.GetComponent <TayaSpells>(); Actions.Add("taya_create_platform", () => tayaSpells.CreatePlatform()); Actions.Add("taya_create_decoy", () => tayaSpells.CreateDecoy()); }
private void Start() { Instance = this; if (DialogueFile != null) { dialogue = Dialogue.FromFile(DialogueFile.text); } dialogueActionManager = GetComponent <DialogueActionManager>(); current = null; }