-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Sync Events no longer need Event prefix (#2087)
Instead of doing ```cs [SyncEvent] public event MySyncEventDelegate EventOnly; ``` You can now do ```cs [SyncEvent] public event MySyncEventDelegate Only; ``` We actually tried to remove them a while ago. The way the weaver worked back then caused an infinite recursion. Since the Command rewrite that allows virtuals, this is no longer a problem. So we can drop this requirement. Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
- Loading branch information
Showing
4 changed files
with
3 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
...irror/Tests/Editor/Weaver/WeaverSyncEventTests~/ErrorWhenSyncEventDoesntStartWithEvent.cs
This file was deleted.
Oops, something went wrong.