Exemple #1
0
 void MakeInstance()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }
 void Awake()
 {
     DropsManager.main = this;
 }