|
@@ -25,7 +25,14 @@ namespace GFGGame
|
|
|
LogUtil.LogEditor($"PreloadManager TryAdd {location}");
|
|
|
}
|
|
|
|
|
|
- public void AddSuit(int suitId, ResType resType, int[] excludeType, bool includeOptional)
|
|
|
+ /// <summary>
|
|
|
+ /// 预加载套装资源
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="suitId"></param>
|
|
|
+ /// <param name="resType">可以选择预加载静态图或者动画或者全部</param>
|
|
|
+ /// <param name="excludeType">排除一些类型,由ConstDressUpItemType定义</param>
|
|
|
+ /// <param name="includeOptional">是否包含可选部件</param>
|
|
|
+ public void PreloadSuitRes(int suitId, ResType resType, int[] excludeType, bool includeOptional)
|
|
|
{
|
|
|
SuitCfg suitCfg = SuitCfgArray.Instance.GetCfg(suitId);
|
|
|
if (suitCfg == null)
|