06-01-2020, 11:29 AM
What do you mean by unexpected results?
To clarify:
is a shorter way to write
So what will happen is that all events will be ignored in the first frame of existence of the controller, while the event is null, but will be available again starting from the second frame. Is this matching the unexpected result you mentionned, or is it something else?
To clarify:
Code:
someEvent?.Invoke(someEventArguments)
Code:
if(someEvent!= null)
someEvent.Invoke(someEventArguments)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.