/** 获取asset(计数+1)(用于确定资源存在,不走加载的场合) */ public static GameObject getAssetAndIncrease(int type, int id) { AssetPool pool = _poolArr[type]; if (pool == null) { Ctrl.warnLog("未注册AssetPoolType", type); return(null); } return(pool.getAsset(id, true)); }