Beispiel #1
0
 void MakeInstance()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
Beispiel #2
0
 void Awake()
 {
     instance = this;
     Initiliaze();
 }