void Awake()
 {
     if (s_settings != null) {
     throw new System.InvalidProgramException("there is more than one game settings object!");
     }
     s_settings = this;
 }
Exemple #2
0
 void Awake()
 {
     if (s_settings != null)
     {
         throw new System.InvalidProgramException("there is more than one game settings object!");
     }
     s_settings = this;
 }
Exemple #3
0
 void Cleanup()
 {
     s_settings = null;
 }
 void Cleanup()
 {
     s_settings = null;
 }