// -------------- Inherited from MonoBehavior ---------------------------- // void Awake() { buttonAssociations = new Dictionary <string, UnityAction> () { { "ButtonRetry", ButtonRetry }, { "ButtonIdentification", ButtonIdentification }, { "ButtonHome", ButtonHome }, }; gameController = GetComponent <GameControllerLi> (); GetAnimators(); GetInputFields(); GetPushButtons(); GetTexts(); }
// --------------- Overloaded Unity's functions -------------------------- // void Awake() { gameController = GetComponent <GameControllerLi> (); }