I want to remove the ScrollTo behavior from my unit and then re-add it later on by an event. Is there anyway to do this? And can it be done with all other behaviors?
I could not find this function in the forums. Thanks for reading.
An idea would be to do the ScrollTo as an event instead of adding the behavior to the unit. Then toggle the event on and off through any condition you like.
Here is an fast example , using a keypress to toggle a group containing the event.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the response! It works!