Reply To: Enable/disable a script in the cutscene

Slate Forums Support Enable/disable a script in the cutscene Reply To: Enable/disable a script in the cutscene

#897
Gavalakis
Keymaster

Hello and sorry for the late reply!
Thanks a lot. I am really glad you like SLATE.

Yes, that is quite possible to do, simply by using the action clip named “Set Behaviours Active State” found under the “GameObject” category in an ActionTrack. The “Set Behaviours Active State” action clip, will list all monobehaviours attached on the target actor in the clip’s inspector along with a checkbox next to each one of those. Then the clip allow you to either Enable, Disable, or Toggle those checked scripts.

Let me know if that works for you.
Thanks!

Join us on Discord: https://discord.gg/97q2Rjh