using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using AX.InputSystem;
using System;
using AX.MessageSystem;
///
/// 鼠标指针管理类【单利模式】(游戏中,不同状态对于不同指针)
///
public class CursorManager : MonoBehaviour
{
///
/// 私有静态成员
///
private static CursorManager instance;
private GameObject cursor;
private GameObject replayCursor;
private Transform cursorParent;
private DateTime t1;
private DateTime t2;
///
/// 外部访问,公共静态成员(单例)
///
public static CursorManager GetInstance
{
get { return instance; }
}
void Start()
{
//赋值单例
instance = this;
// Cursor.visible = false;
cursorParent = GameObject.Find("Canvas").transform;
// cursor = Instantiate(cursorNormal, cursorParent) as GameObject;
//添加层控制
//Canvas c;
//if (!cursor.GetComponent