예제 #1
0
파일: PLAYER.cs 프로젝트: Eunomiac/HEX
 public void MultiTap(Button button, int tapCount, Vector3 dir)
 {
     Debug.Log($"Multi-Tap: {button.ToString()} (x{tapCount}) => {ARENA.I.GetTargetZone(dir).name}");
     LastSpellCast = Instantiate(Spells[button.ButtonName], BusyCastSlots.Last().transform, false);
     LastSpellCast.CastAtZone(ARENA.I.GetTargetZone(dir), tapCount, false);
 }
예제 #2
0
파일: PLAYER.cs 프로젝트: Eunomiac/HEX
 public void StartHold(Button button, int tapCount, Vector3 dir)
 {
     Debug.Log($"Start Hold: {button.ToString()} (x{tapCount})");
     LastSpellCast = Instantiate(Spells[button.ButtonName], BusyCastSlots.Last().transform, false);
     LastSpellCast.CastAtZone(ARENA.I.GetTargetZone(dir), tapCount, true);
 }