Esempio n. 1
0
    // 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());
    }
Esempio n. 2
0
    private void Start()
    {
        Instance = this;

        if (DialogueFile != null)
        {
            dialogue = Dialogue.FromFile(DialogueFile.text);
        }

        dialogueActionManager = GetComponent <DialogueActionManager>();
        current = null;
    }