public void UpdateIndicator() { if (CurrentIndicator == null) { return; } if (CurrentSpell.Ability.Effect == GameConsts.EFFECT.PROJECTILE) { CurrentIndicator.transform.rotation = Quaternion.Slerp(CurrentIndicator.transform.rotation, GameFuncs.RotateTowardsMouse(CurrentIndicator.transform), GameConsts.ROTATE_SPEED * Time.deltaTime); } else { CurrentIndicator.transform.position = GameFuncs.MoveTowardsMouse(CurrentIndicator.transform); } }