You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope there is a way to delete registered delegates.
The text was updated successfully, but these errors were encountered:
zms9110750
changed the title
Is it possible to change the registered delegation to an event?
Is it possible to change the registered delegation method to event?
Sep 20, 2023
Yes, that's what this event keyword declares.
My player controller will determine the player's status. However, in running and idle mode, playing animations is determined by other classes. Since they are separated, it is possible that the animation needs to unbind the delegation.
In addition, there are two issues.
1 Is it possible to merge asynchronous and synchronous delegates together?
1.1 It is difficult to manage the occurrence of two events in the same role.
1.2 Whenever an asynchronous delegate occurs, I need to use an asynchronous trigger, even if it is a PermitIf that is completely impossible to trigger.
2 Can the asynchronous return value be changed to a ValueTask? It is unlikely that this task will need to be used multiple times.
I hope there is a way to delete registered delegates.
The text was updated successfully, but these errors were encountered: