public void Awake() { movement = GetComponent <MovementManager>(); movement.SetFrozen(true); HP = GetComponentInChildren <HealthManager>(); HP.InitializeHealth(HP.GetMaxHP()); }
private void Awake() { movement = GetComponent <MovementManager>(); HP = GetComponentInChildren <HealthManager>(); HP.InitializeHealth(HP.GetMaxHP()); targetPosition = Vector2.zero; }
public void Awake() { movement = GetComponent <MovementManager>(); HP = GetComponentInChildren <HealthManager>(); HP.InitializeHealth(HP.GetMaxHP() * 0.20f); }