タップ判定変更
This commit is contained in:
parent
b56d20e1b1
commit
461082455e
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue