示例#1
0
 void Start()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     healthLeft = 100;
     UpdateHealthUI();
 }
示例#2
0
 void Start()
 {
     AddDefaultPositions();
     gameHealth = GameObject.Find("UpdateSystem").GetComponent <GameHealth>();
 }