diff --git a/popcorn/Assets/MyGame/Scenes/Main/PanController.cs b/popcorn/Assets/MyGame/Scenes/Main/PanController.cs index a68b9283..2a5444f2 100644 --- a/popcorn/Assets/MyGame/Scenes/Main/PanController.cs +++ b/popcorn/Assets/MyGame/Scenes/Main/PanController.cs @@ -6,7 +6,7 @@ using UnityEngine.UI; using UnityEngine.EventSystems; [RequireComponent(typeof(BoxCollider2D))] -public class PanController : MonoBehaviour, IDragHandler, IBeginDragHandler +public class PanController : MonoBehaviour//, IDragHandler, IBeginDragHandler { private Transform cacheTransform; private Vector3 offset; diff --git a/popcorn/Assets/PopcornGameManager.cs b/popcorn/Assets/PopcornGameManager.cs index a962c39b..17a4abe1 100644 --- a/popcorn/Assets/PopcornGameManager.cs +++ b/popcorn/Assets/PopcornGameManager.cs @@ -1,7 +1,5 @@ using System; -using System.Collections; using System.Collections.Generic; -using UniRx; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; @@ -70,7 +68,7 @@ public class PopcornGameManager : MonoBehaviour // Update is called once per frame void Update() { - if(Input.GetMouseButtonDown(0) && CheckTap(Input.mousePosition)) + if(Input.GetMouseButtonDown(0)) { if (!isProgress) {