예제 #1
0
        static bool Prepare(object instance)
        {
            try
            {
                Method        = AccessToolsShim.Method(ClrTypes.UnityEventBase, "PrepareInvoke");
                DefaultResult = Activator.CreateInstance(typeof(List <>).MakeGenericType(ClrTypes.BaseInvokableCall));

                return(Method != null);
            }
            catch
            {
            }

            return(false);
        }
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GameObject.ClrType, "Internal_AddComponentWithType", new Type[] { typeof(Type) }));
 }
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.Transform.ClrType, "SetParent", new Type[] { UnityTypes.Transform.ClrType, typeof(bool) }));
 }
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.Object.ClrType, "Internal_CloneSingleWithParent", new Type[] { typeof(UnityEngine.Object), typeof(Transform), typeof(bool) }));
 }
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.Object.ClrType, "Internal_CloneSingle", new Type[] { typeof(UnityEngine.Object) }));
 }
예제 #6
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(ClrTypes.UISprite, "OnInit"));
 }
예제 #7
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoToggle", new[] { typeof(Rect), typeof(int), typeof(bool), typeof(GUIContent), typeof(GUIStyle) }));
 }
예제 #8
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoWindow", new[] { typeof(int), typeof(Rect), typeof(WindowFunction), typeof(GUIContent), typeof(GUIStyle), typeof(GUISkin), typeof(bool) }));
 }
예제 #9
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.DicingTextures?.ClrType, "GetTexture", new[] { typeof(string) }));
 }
예제 #10
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(typeof(Cursor), "SetCursor", new[] { typeof(Texture2D), typeof(Vector2), typeof(CursorMode) }));
 }
예제 #11
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.MaskableGraphic?.ClrType, "OnEnable"));
 }
예제 #12
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.CubismRenderer.ClrType, "TryInitialize"));
 }
예제 #13
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(ClrTypes.UnityEventBase, "Invoke", new Type[] { typeof(object[]) }));
 }
예제 #14
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(ClrTypes.AdvPage, "RemakeTextData"));
 }
예제 #15
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoRepeatButton", new[] { typeof(Rect), typeof(GUIContent), typeof(GUIStyle), typeof(FocusType) }));
 }
예제 #16
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.UIRect?.ClrType, "OnInit"));
 }
예제 #17
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoButton", new[] { typeof(Rect), typeof(GUIContent), typeof(IntPtr) }));
 }
예제 #18
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.AdvEngine?.ClrType, "JumpScenario", new Type[] { typeof(string) }));
 }
예제 #19
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoButtonGrid", new[] { typeof(Rect), typeof(int), typeof(GUIContent[]), typeof(string[]), typeof(int), typeof(GUIStyle), typeof(GUIStyle), typeof(GUIStyle), typeof(GUIStyle), UnityTypes.GUI_ToolbarButtonSize.ClrType, typeof(bool[]) }));
 }
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.Object.ClrType, "Internal_InstantiateSingle", new Type[] { typeof(UnityEngine.Object), typeof(Vector3), typeof(Quaternion) }));
 }
예제 #21
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "BeginGroup", new[] { typeof(Rect), typeof(GUIContent), typeof(GUIStyle), typeof(Vector2) }));
 }
예제 #22
0
 static MethodBase TargetMethod(object instance)
 {
     return(AccessToolsShim.Method(typeof(MaskableGraphic), "OnEnable"));
 }