Beispiel #1
0
 public virtual void Die(GameObject gameObject)
 {
     _Audio.clip = _Clip[1];
     _Audio.Play();
     _DieEffect.Die();
     DropGold();
 }
 //보스죽을때
 public override void Die(GameObject gameObject)
 {
     transform.parent.parent.GetComponent <cBossMap>().ReMoveBoss(gameObject);
     transform.parent.parent.GetComponent <cBossMap>()._isBox = true;
     _DieEffect.Die(this.gameObject);
     for (float f = 0.1f; f < 2; f += 0.1f)
     {
         Invoke("Gold", f);
     }
     _isDie = true;
     StopAllCoroutines();
 }