コード例 #1
0
    // -------------- Inherited from MonoBehavior ---------------------------- //

    void Awake()
    {
        buttonAssociations = new Dictionary <string, UnityAction> ()
        {
            { "ButtonRetry", ButtonRetry },
            { "ButtonIdentification", ButtonIdentification },
            { "ButtonHome", ButtonHome },
        };

        gameController = GetComponent <GameControllerLi> ();

        GetAnimators();
        GetInputFields();
        GetPushButtons();
        GetTexts();
    }
コード例 #2
0
    // --------------- Overloaded Unity's functions -------------------------- //

    void Awake()
    {
        gameController = GetComponent <GameControllerLi> ();
    }