Exemple #1
0
 void Awake()
 {
     if (_instance != null)
     {
         Destroy(_instance);
         Debug.LogError("Multiple instances of CC_ButtonSettings created");
     }
     _instance = this;
 }
 void Awake()
 {
     if (_instance != null) {
         Destroy(_instance);
         Debug.LogError("Multiple instances of CC_ButtonSettings created");
     }
     _instance = this;
 }