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