There is an ActionClip is Slate that allows you to send a message to a gameobject (GameObject.SendMessage) and as such possible to call some function existing on one of that gameobject’s scripts. The ActionClip also supports a parameter, and thus you can call a function with a bool parameter like it is required in your example.
Let me know if that is that what you mean? 🙂
Thanks.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.