public AppcraftedManager()
 {
     if (instance !=null)
     {
         Debug.LogError ("Cannot have two instances of singleton.");
         return;
     }
     instance = this;
 }
示例#2
0
 public AppcraftedManager()
 {
     if (instance != null)
     {
         Debug.LogError("Cannot have two instances of singleton.");
         return;
     }
     instance = this;
 }