Hello, my question is:
How can I call a function from an ActionList? When the player eats cheese, I want to call a function that controls the level of satiety.
Sorry for may bad english ![]()
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If you have a public function in a custom script that you want to call, you can do so with either the Object: Send message Action, or the Object: Call event Action.
Note that when using these Actions, you must set the Object field to be a GameObject (or prefab) with the script added as a component - not set the script asset file directly.