Example #1
0
 // Perform Teleport movement (The movement is performed by the animator)
 public void performTeleportMovement()
 {
     if (healthScript.isActiveAndEnabled)
     {
         healthScript.setInmunnity(true);
     }
 }
 /// <summary>
 /// Perform Teleport movement
 /// </summary>
 public void performTeleportMovement()
 {
     // Teleport movement is performed by Animator..-
     if (healthScript.isActiveAndEnabled)
     {
         healthScript.setInmunnity(true);
     }
 }