scripts
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace UnityEngineInternal
|
||||
{
|
||||
// Token: 0x02000505 RID: 1285
|
||||
internal static class NetFxCoreExtensions
|
||||
{
|
||||
// Token: 0x06003C5E RID: 15454 RVA: 0x0006AB58 File Offset: 0x00068D58
|
||||
public static Delegate CreateDelegate(this MethodInfo self, Type delegateType, object target)
|
||||
{
|
||||
return Delegate.CreateDelegate(delegateType, target, self);
|
||||
}
|
||||
|
||||
// Token: 0x06003C5F RID: 15455 RVA: 0x0006AB78 File Offset: 0x00068D78
|
||||
public static MethodInfo GetMethodInfo(this Delegate self)
|
||||
{
|
||||
return self.Method;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user