示例#1
0
        /** 获取自定义asset(计数+1) */
        public static GameObject getCustomAsset(int type, int id)
        {
            AssetPool pool = _poolArr[type];

            if (pool == null)
            {
                Ctrl.warnLog("未注册AssetPoolType", type);
                return(null);
            }

            return(pool.getCustomAsset(id));
        }