Ejemplo n.º 1
0
 void Start()
 {
     SetupEnemy();
     playerType = GetComponentInChildren <AttackController>().playerType;
     updateUI.SetMaxHealth(GameController.GetHealth(playerType));
     if (autoAttack)
     {
         StartCoroutine(StartAttacking());
     }
 }
Ejemplo n.º 2
0
 void Start()
 {
     playerType = GetComponentInChildren <AttackController>().playerType;
     updateUI.SetMaxHealth(GameController.GetHealth(playerType));
 }