示例#1
0
 void Destroy()
 {
     if (RandomStageGenerator.instance == this)
     {
         RandomStageGenerator.instance = null;
     }
 }
示例#2
0
 void Awake()
 {
     RandomStageGenerator.instance = this;
 }