Ejemplo n.º 1
0
    protected virtual void Awake()
    {
        IsSelect = _isSelect;
        IsLock   = _isLock;

        _managment = GetComponentInParent <UIObjectManager>();
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 相关数据重置
    /// </summary>
    public void resetData()
    {
        var gameObj = GameObject.Find("UIObjectManager") as GameObject;

        if (!gameObj)
        {
            return;
        }

        m_uiObjectMgr = gameObj.GetComponent <UIObjectManager>();
    }