三国卡牌客户端基础资源仓库
yyl
2026-03-28 25eb0e50d4e815efb16d1a9953beac6ea1c7cfc3
Assets/Editor/Tool/InGameDownTestWindow.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using Cysharp.Threading.Tasks;
public class InGameDownTestWindow : EditorWindow
{
@@ -22,14 +23,19 @@
        {
            InGameDownTestUtility.enable = !InGameDownTestUtility.enable;
            if (InGameDownTestUtility.enable)
            VersionConfig.GetAsync().ContinueWith(config =>
            {
                VersionConfig.Get().assetAccess = InstalledAsset.NullAsset;
            }
            else
            {
                VersionConfig.Get().assetAccess = InstalledAsset.IngoreDownLoad;
            }
                if (InGameDownTestUtility.enable)
                {
                    VersionConfig.config.assetAccess = InstalledAsset.NullAsset;
                }
                else
                {
                    VersionConfig.config.assetAccess = InstalledAsset.IngoreDownLoad;
                }
            }).Forget();
        }
        EditorGUILayout.Space();