Hey,
I am creating a 2D adventure using your plugin, and I really need help. I need to make hotspots to be disabled (Not displayed, not interactable) when the player jumps (Jump made on my own using scripting), or when he is aiming (Also made on my own). Basically I have 2 booleans in a script: "jumping" and "aiming" and I want to disable all hotspots while they are true.
Thank you really much.
Wolf Flare
Hotspot detection method: Player vinicity
Motion controller: My own
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
A Hotspot can be disabled by invoking its TurnOff function. But you can instead just disable the Interaction system completely, so that Hotspots are ignored anyway, by calling:
And then calling it with "true" again afterwards to enable the Interaction system again when you're ready.