protected virtual void Awake() { IsSelect = _isSelect; IsLock = _isLock; _managment = GetComponentInParent <UIObjectManager>(); }
/// <summary> /// 相关数据重置 /// </summary> public void resetData() { var gameObj = GameObject.Find("UIObjectManager") as GameObject; if (!gameObj) { return; } m_uiObjectMgr = gameObj.GetComponent <UIObjectManager>(); }