Ejemplo n.º 1
0
 void OnDestroy()
 {
     s_Instance = null;
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Awake()
 {
     s_Instance = this;
 }