示例#1
0
 void _MakeInstance()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
示例#2
0
 void Start()
 {
     SpawningControllerObject = GameObject.Find("spawn controller");
     SpawningController       = SpawningControllerObject.GetComponent <spawnController>();
     currentHealth            = health;
 }