using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class CamMouseMove : MonoBehaviour,IPointerEnterHandler,IPointerExitHandler
{
    public void OnPointerEnter(PointerEventData eventData)
    {
        mGame.MGameManager.Instance.enableCamMove = true;
    }

    public void OnPointerExit(PointerEventData eventData)
    {
        mGame.MGameManager.Instance.enableCamMove = false;
    }
 
}
