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