public void Awake() { if (!m_Instance) { m_Instance = this; } else { Debug.LogError("只能有一个UIWindowDebugPlane:" + m_Instance.name); } }
public void OnDestroy() { m_UIWindowStatusList.Clear(); m_Instance = null; }
public void Awake() { if (!m_Instance) { m_Instance = this; } else { Debug.LogError("只能有一个UIWindowDebugPlane:" + m_Instance.name); } }
public void OnDestroy() { m_UIWindowStatusList.Clear(); m_Instance = null; }