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