Ejemplo n.º 1
0
 /// <summary>
 /// Calls the end attack function for the character that spawned this SmiteSpawn
 /// </summary>
 public void EndAttackAnimationDestroyParent()
 {
     if (_spawner != null)
     {
         _spawner.EndAttack();
         // Destroy this object's parent
         Destroy(this.transform.parent.gameObject);
     }
 }