Lets you call a method in a script on a Game Object.
NOTE: Unity Object fields show the GameObject name, so for clarity we show the Behaviour name as well below.
NOTE: The full method signature is visible below.
NOTE: This UI is built automatically when you select the method.
Note how we drag the component itself into the Behaviour slot.
After you drag a component into the Behaviour slot, the slot is now of that type, and will only accept behaviors of that type. To change the type select None first or Reset the action in the Action Settings Menu. We're investigating a smoother solution...
- Sometimes new Unity versions change method names. We do not currently detect this so you will need to update actions manually if method names change.
- The online Unity API Versioner is a useful tool to explore method and property names across Unity versions.