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