コード例 #1
0
    protected virtual void Awake()
    {
        IsSelect = _isSelect;
        IsLock   = _isLock;

        _managment = GetComponentInParent <UIObjectManager>();
    }
コード例 #2
0
ファイル: UIManager.cs プロジェクト: osssx/TanksOnline
    /// <summary>
    /// 相关数据重置
    /// </summary>
    public void resetData()
    {
        var gameObj = GameObject.Find("UIObjectManager") as GameObject;

        if (!gameObj)
        {
            return;
        }

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