Assets/Scripts/TowerDefense/Input/EndlessTowerDefenseKeyboardMouseInput.cs
@@ -41,6 +41,7 @@ // River Add for Mouse Start Drag & Draged. controller.startedDrag += OnStartDrag; controller.dragged += this.OnDrag; controller.pressed += OnPressed; controller.released += this.OnEndDrag; } } @@ -62,6 +63,7 @@ controller.startedDrag -= this.OnStartDrag; controller.dragged -= this.OnDrag; controller.pressed -= OnPressed; controller.released -= this.OnEndDrag; } @@ -215,6 +217,11 @@ } } private void OnPressed(PointerActionInfo pointer) { m_GameUI.OnPressed(pointer); } /// <summary> /// Select towers or position ghosts /// </summary>