Example #1
0
    void GetLocalItem(string _isoPath)
    {
        mLocalIsoPath = _isoPath;
        mLocalIsoPath = mLocalIsoPath.Replace('\\', '/');
        mIcoPath.text = mLocalIsoPath.Replace(mDefoutIcoPath, "[ISO]/");

        if (mLocalIsoPath.Length <= mDefoutIcoPath.Length)
        {
            mBxBtnGoBack.enabled = false;
        }
        else
        {
            mBxBtnGoBack.enabled = true;
        }


        if (mLocalIsoInfo != null)
        {
            mLocalIsoInfo.Clear();
            mLocalIsoInfo = null;
        }
        string _KeyWord = mQueryInput.text.Trim();


        mLocalIsoInfo = VCEAssetMgr.SearchIso(mLocalIsoPath, _KeyWord);

        mLocalGridCtrl.ReSetGrid(mLocalIsoInfo.Count);
        mLocalGridCtrl._UpdatePagText();
        mSelectedIsoIndex = -1;
        mVCERightPanel.SetActive(false);
    }