mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
EmitHelper动态方法不支持IL2CPP
This commit is contained in:
@@ -538,7 +538,7 @@ namespace GameLogic
|
||||
|
||||
private UIWindow CreateInstance(Type type)
|
||||
{
|
||||
UIWindow window = EmitHelper.CreateInstance(type) as UIWindow;
|
||||
UIWindow window = Activator.CreateInstance(type) as UIWindow;
|
||||
WindowAttribute attribute = Attribute.GetCustomAttribute(type, typeof(WindowAttribute)) as WindowAttribute;
|
||||
|
||||
if (window == null)
|
||||
|
Reference in New Issue
Block a user