예제 #1
0
    public void LoadUIAsync(int uiid, Action callback)
    {
        string str = UIUtil.GetUITypeName(uiid);

        if (string.IsNullOrEmpty(str))
        {
            ResMgr.LogError(Tag, "LoadUIAsync", "UIMgr uiid not exist ==>" + uiid); return;
        }
        sb.Clear();
        sb.Append(string.Format(m_UIPath, str));
        ResMgr.LoadGobjAsync(sb.ToString(), callback);
    }