| | |
| | | using System.Collections.Generic;
|
| | | using UnityEngine;
|
| | | using UnityEditor;
|
| | | using Cysharp.Threading.Tasks;
|
| | |
|
| | | public class InGameDownTestWindow : EditorWindow
|
| | | {
|
| | |
| | | {
|
| | | 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();
|