void Awake() { if (SINGLETON == null) { SINGLETON = this; } else { print("WARNING : Controller loaded twice"); } // _speakerLeft.enabled = false; // _speakerRight.enabled = false; // _backgroundLeft.enabled = false; // _backgroundRight.enabled = false; _dialogueCanvas.gameObject.SetActive(false); // displayDialoguePane (false, _normalDialogueGroup); // displayDialoguePane (false, _popupDialogueGroup); }
// Start is called before the first frame update void Awake() { dialogueEventController = GameObject.Find("DialogueEventController").GetComponent <DialogueEventController>(); kiki = GameObject.FindGameObjectWithTag("Player"); }