【m】webgl 接入完成
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 3s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 9s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 5s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 32s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 2s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 4s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 16s
Plugin Library CI / publish (07.RKTools) (push) Successful in 3s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
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
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 3s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 9s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 5s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 32s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 2s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 4s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 16s
Plugin Library CI / publish (07.RKTools) (push) Successful in 3s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
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
This commit is contained in:
@@ -21,28 +21,9 @@ namespace Stary.Evo
|
|||||||
{
|
{
|
||||||
domainConfig = param1 as DomainConfig;
|
domainConfig = param1 as DomainConfig;
|
||||||
#if UNITY_WEBGL
|
#if UNITY_WEBGL
|
||||||
string typeName = $"{domainConfig.@namespace}.{domainConfig.className},{domainConfig.assemblyName}";
|
string typeName = $"{domainConfig.@namespace}.{domainConfig.className},{domainConfig.assemblyName}"; // 完整命名空间
|
||||||
Debug.Log($"尝试获取类型: {typeName}");
|
Type type = Type.GetType(typeName);
|
||||||
Type type = Type.GetType(typeName);
|
Debug.Log($"ResStartState:加载资源,Type为:【{type}】");
|
||||||
if (type != null)
|
|
||||||
{
|
|
||||||
Debug.Log($"成功获取类型: {type.FullName}");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.LogError($"无法找到类型: {typeName}");
|
|
||||||
// 尝试使用备选方案
|
|
||||||
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
|
|
||||||
{
|
|
||||||
var foundType = assembly.GetType($"{domainConfig.@namespace}.{domainConfig.className}");
|
|
||||||
if (foundType != null)
|
|
||||||
{
|
|
||||||
Debug.Log($"在程序集 {assembly.FullName} 中找到类型: {foundType.FullName}");
|
|
||||||
type = foundType;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
Type type = param2 as Type;
|
Type type = param2 as Type;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user