예제 #1
0
    protected new void Start()
    {
        base.Start();

        uIGamePlayer = FindObjectOfType <UIGamePlayer>();

        uIGamePlayer.SetConfigEnemy(health, enemyName, true);
    }
예제 #2
0
 protected override void OnDeath()
 {
     GetComponentInParent <DragonController>().StopAllCoroutines();
     uIGamePlayer.SetConfigEnemy(health, enemyName, false);
     gameObject.SetActive(false);
 }