コード例 #1
0
        // Awake
        void Awake()
        {
            CheckUIEventSystem();

            m_Instance = this;
            SetActive(true);
            InitControllers();
            Array.ForEach(m_AllControllers, c => c.OnAwake());
        }
コード例 #2
0
ファイル: TCKInput.cs プロジェクト: shanghaichina/TSC
        // Awake
        void Awake()
        {
            if (FindObjectOfType <EventSystem>() == null)
            {
                new GameObject("EventSystem", typeof(EventSystem), typeof(StandaloneInputModule));
            }

            instance = this;
            SetActive(true);
        }
コード例 #3
0
 // Awake
 void Awake()
 {
     instance = this;
     SetActive(true);
 }
コード例 #4
0
 // OnReset
 static void OnReset()
 {
     m_Inited   = false;
     m_Instance = null;
 }
コード例 #5
0
ファイル: TCKInput.cs プロジェクト: cemkoker/Tile
 // Awake
 void Awake()
 {
     instance = this;
     SetActive( true );
 }