void ILibaryHandle.InsertLibrary(object data)
        {
            if (data.GetType().Name != "LibaryStreamingAssetSetting")
            {
                return;
            }
            LibaryStreamingAssetSetting assetSetting = (LibaryStreamingAssetSetting)data;

            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.texture2ds));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.textAssets));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.audios));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.videos));
        }
Ejemplo n.º 2
0
        void ILibaryHandle.InsertLibrary(object data)
        {
            if (data.GetType().Name != "LibaryAssetSetting")
            {
                return;
            }
            LibaryAssetSetting assetSetting = (LibaryAssetSetting)data;

            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.texture2ds));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.renderTextures));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.movieTextures));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.sprites));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.materials));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.textAssets));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.prefabs));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.audios));
            ResLibaryTool.UTStartCoroutine(InitLibaryAssetSetting(assetSetting.videos));
        }
Ejemplo n.º 3
0
 public void UpdateAssetBundle(string bundleUrl, AssetExistStatusEnum bundelExistStatus = AssetExistStatusEnum.Scene)
 {
     ResLibaryTool.UTStartCoroutine(AddAssetBundle(bundleUrl, bundelExistStatus));
 }