Example #1
0
 protected override void Die()
 {
     if (Delegate != null)
     {
         gameObject.GetComponent <AudioSource>().Play();
         Set_Animation_Die();
         Delegate.Die(this);
         Destroy(gameObject, 1.5f);
     }
 }