Пример #1
0
 public void Awake()
 {
     if (!m_Instance)
     {
         m_Instance = this;
     }
     else
     {
         Debug.LogError("只能有一个UIWindowDebugPlane:" + m_Instance.name);
     }
 }
Пример #2
0
 public void OnDestroy()
 {
     m_UIWindowStatusList.Clear();
     m_Instance = null;
 }