// Awake void Awake() { CheckUIEventSystem(); m_Instance = this; SetActive(true); InitControllers(); Array.ForEach(m_AllControllers, c => c.OnAwake()); }
// Awake void Awake() { if (FindObjectOfType <EventSystem>() == null) { new GameObject("EventSystem", typeof(EventSystem), typeof(StandaloneInputModule)); } instance = this; SetActive(true); }
// Awake void Awake() { instance = this; SetActive(true); }
// OnReset static void OnReset() { m_Inited = false; m_Instance = null; }
// Awake void Awake() { instance = this; SetActive( true ); }