Beispiel #1
0
    void Start()
    {
        api        = GameObject.Find("DialoguePanel").GetComponent <DialogueAPI>();
        textPanel  = api.textPanel;
        player     = api.player;
        inputField = api.inputField;

        api.timePanel.SetActive(true);
        api.StartTimer(30, 0);

        player.canMove = false;
    }