Exemple #1
0
 void OnDestroy()
 {
     m_Instance = null;
 }
Exemple #2
0
 void Awake()
 {
     m_Instance = this;
 }