public IEnumerator playAbilityAnimation(PlayerController player, EffectAnimationEntity entity) { if (entity != null) { entity.playSE(); GameController.EffectAnimationController.singleshotEffect(entity, player.FrontPos, 1, 2, true); } yield return null; }
public IEnumerator playAbilityAnimation(PlayerController player, EffectAnimationEntity entity) { GameController.EffectAnimationController.singleshotEffect(entity, Trap.Position, 1, 2, true); entity.playSE(); yield return null; }