protected new void Start() { base.Start(); uIGamePlayer = FindObjectOfType <UIGamePlayer>(); uIGamePlayer.SetConfigEnemy(health, enemyName, true); }
protected override void OnDeath() { GetComponentInParent <DragonController>().StopAllCoroutines(); uIGamePlayer.SetConfigEnemy(health, enemyName, false); gameObject.SetActive(false); }