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(ClrTypes.UnityEventBase, "Invoke", new Type[] { typeof(object[]) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoToggle", new[] { typeof(Rect), typeof(int), typeof(bool), typeof(GUIContent), typeof(GUIStyle) })); }
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) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoRepeatButton", new[] { typeof(Rect), typeof(GUIContent), typeof(GUIStyle), typeof(FocusType) })); }
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_CloneSingle", new Type[] { typeof(UnityEngine.Object) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.UguiNovelTextGenerator?.ClrType, "LengthOfView").GetSetMethod(true)); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.Image?.ClrType, "overrideSprite")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.MaskableGraphic?.ClrType, "OnEnable")); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(typeof(Material), "mainTexture")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.CubismRenderer.ClrType, "TryInitialize")); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.CubismRenderer.ClrType, "MainTexture")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.SpriteRenderer?.ClrType, "sprite")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.TextArea2D.ClrType, "TextData")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.RawImage?.ClrType, "texture")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.AdvEngine?.ClrType, "JumpScenario", new Type[] { typeof(string) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(typeof(Cursor), "SetCursor", new[] { typeof(Texture2D), typeof(Vector2), typeof(CursorMode) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.Object.ClrType, "Internal_InstantiateSingle", new Type[] { typeof(UnityEngine.Object), typeof(Vector3), typeof(Quaternion) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.DicingTextures?.ClrType, "GetTexture", new[] { typeof(string) })); }
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.UIRect?.ClrType, "OnInit")); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.GameObject.ClrType, "Internal_AddComponentWithType", new Type[] { typeof(Type) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.UI2DSprite?.ClrType, "material")?.GetSetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "DoButton", new[] { typeof(Rect), typeof(GUIContent), typeof(IntPtr) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Property(UnityTypes.UIPanel.ClrType, "clipTexture")?.GetSetMethod()); }
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.Property(UnityTypes.TMP_Text.ClrType, "text")?.GetGetMethod()); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(UnityTypes.GUI.ClrType, "BeginGroup", new[] { typeof(Rect), typeof(GUIContent), typeof(GUIStyle), typeof(Vector2) })); }
static MethodBase TargetMethod(object instance) { return(AccessToolsShim.Method(ClrTypes.AdvPage, "RemakeTextData")); }