#i subscribed my toRun action as seen

1 messages · Page 1 of 1 (latest)

reef otter
#

are you using send messages or broadcast and where is this script relative to your Player Input Component

#

this is a basic example using send messages where that script is on the same GO as the Player Input component

remote bronze
#

ah

#

am i supposed to put them in onEnable?

#

oh what the FUCK

#

THERE WAS no onenable defined in my script at all

#

that was the problem

#

🤦‍♂️

#

thanks for your help regardless

reef otter
#

the reason for OnEnable and OnDisable is to unsubscribe to the event listeners when they are no longer needed

remote bronze
#

thank you !