Home ยป Action Reference»ScriptControl Actions»Call Method
Community Wiki

Call Method

Lets you call a method in a script on a Game Object. You can use multiple parameters and get a return value.

This is the first release of this action. Look for improvements in the UI soon with a custom action editor to make selecting methods easier. Right now you need to know the name of the method you want to call and the parameters it needs.

The behaviour on a GameObject that has the method you want to call. Drag the script component from the Unity inspector into this slot. HINT: Use Lock if the script is on another GameObject.
Method Name
Name of the method to call on the component
Method paramters. NOTE: these must match the method's signature!
Store Result
Store the result of the method call.
Every Frame
Repeat every frame.



Last modified on 3/5/2014 9:33 AM by User.

  • RSS Feed