void Start() { if (MouseEnable) { instance = this; texture = cursor_pick[1]; Cursor.visible = false; } }
void Awake() { _instance = this; MousePointerCtr tempMouse = HallTransfer.Instance.GetComponent <MousePointerCtr>(); if (tempMouse != null) { tempMouse.Lobby_SetMouse_exit(); //还原鼠标 } }
void OnDestroy() { instance = null; }