111
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 11s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 24s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 28s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 5s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 2s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 33s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 3s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 3s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 15s
Plugin Library CI / publish (07.RKTools) (push) Successful in 2s
Plugin Library CI / publish (08.UniTask) (push) Successful in 2s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 3s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (12.WeixinMinigame) (push) Successful in 59s
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 11s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 24s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 28s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 5s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 2s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 33s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 3s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 3s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 15s
Plugin Library CI / publish (07.RKTools) (push) Successful in 2s
Plugin Library CI / publish (08.UniTask) (push) Successful in 2s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 3s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (12.WeixinMinigame) (push) Successful in 59s
This commit is contained in:
Binary file not shown.
@@ -1,24 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 92cce7f762d252b40853ec8cfca85b7c
|
|
||||||
timeCreated: 1453461718
|
|
||||||
licenseType: Pro
|
|
||||||
PluginImporter:
|
|
||||||
serializedVersion: 1
|
|
||||||
iconMap: {}
|
|
||||||
executionOrder: {}
|
|
||||||
isPreloaded: 0
|
|
||||||
platformData:
|
|
||||||
Any:
|
|
||||||
enabled: 1
|
|
||||||
settings: {}
|
|
||||||
Editor:
|
|
||||||
enabled: 0
|
|
||||||
settings:
|
|
||||||
DefaultValueInitialized: true
|
|
||||||
WindowsStoreApps:
|
|
||||||
enabled: 0
|
|
||||||
settings:
|
|
||||||
CPU: AnyCPU
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,26 +1,13 @@
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
#if HotUpdate
|
|
||||||
using YooAsset;
|
using YooAsset;
|
||||||
#endif
|
|
||||||
namespace Stary.Evo.TableTextConversion
|
namespace Stary.Evo.TableTextConversion
|
||||||
{
|
{
|
||||||
public static class ReadDumpInformation
|
public static class ReadDumpInformation
|
||||||
{
|
{
|
||||||
public static async Task<T> Read<T>() where T : ScriptableObject, ITableData
|
public static async Task<T> Read<T>() where T : ScriptableObject, ITableData
|
||||||
{
|
{
|
||||||
#if NotUpdate
|
|
||||||
var conf = Resources.Load<T>(typeof(T).Name);
|
|
||||||
if (conf != null)
|
|
||||||
{
|
|
||||||
return conf;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.LogError("UnityEvo:" + "配置文件:" + typeof(T).Name + "加载失败!!!");
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
#elif HotUpdate
|
|
||||||
var conf = YooAssets.LoadAssetAsync($"Config_{typeof(T).Name}");
|
var conf = YooAssets.LoadAssetAsync($"Config_{typeof(T).Name}");
|
||||||
await conf.Task;
|
await conf.Task;
|
||||||
if (conf.Status == EOperationStatus.Succeed)
|
if (conf.Status == EOperationStatus.Succeed)
|
||||||
@@ -32,8 +19,6 @@ namespace Stary.Evo.TableTextConversion
|
|||||||
Debug.LogError("UnityEvo:" + "配置文件:" + typeof(T).Name + "加载失败!!!");
|
Debug.LogError("UnityEvo:" + "配置文件:" + typeof(T).Name + "加载失败!!!");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return default(T); // 或抛出异常
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
|
|||||||
Reference in New Issue
Block a user