Hello!
I've looked through the docs a few times and can't seem to find what I am looking for. As far as I know, shared variables are just properties. So, would it be possible to set up a C# event that reacts to a shared variable changing (being set)? Seems like a quick OnValueChanged event would be more efficient than checking the variable every frame to see if it has changed.
Thank you for your time,
-Luka
I've looked through the docs a few times and can't seem to find what I am looking for. As far as I know, shared variables are just properties. So, would it be possible to set up a C# event that reacts to a shared variable changing (being set)? Seems like a quick OnValueChanged event would be more efficient than checking the variable every frame to see if it has changed.
Thank you for your time,
-Luka