Pinned Loading
-
-
Quickly hook any function in your cl...
Quickly hook any function in your class to a button in the Unity3d Inspector. 1## How to use
23Let's say you have a function called `MyFunction`, and you want to show a button in the inspector to trigger it.
45Just add a "decoy" variable with the `[ButtonInvoke]` attribute in your script (*type* of the variable doesn't really matter, but its *name* will be used as button text.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.