示例#1
0
        public GameObject LoadPanelPrefab(string panelName)
        {
            #if COCOS_SUPPORT
            var retObj = mResLoader.LoadAsset <GameObject>(string.Format("Resources/{0}", panelName));
            if (null != retObj)
            {
                return(retObj);
            }
            #endif

            return(mResLoader.LoadAsset <GameObject>(panelName));
        }
 public GameObject LoadPanelPrefab(string panelName)
 {
     return(mResLoader.LoadAsset <GameObject>(panelName));
 }