Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 void OnDestroy()
 {
     StopAllCoroutines();
     instance = null;
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 void Awake()
 {
     instance = this;
 }