-
-
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: TargetRpc no longer need Target prefix (#2085)
Instead of doing ```cs [TargetRpc] public void TargetPepe() {} ``` You can now do ```cs [TargetRpc] public void Pepe() {} ``` 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
2 additions
and
25 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
10 changes: 0 additions & 10 deletions
10
...Mirror/Tests/Editor/Weaver/WeaverTargetRpcTests~/ErrorWhenMethodDoesNotStartWithTarget.cs
This file was deleted.
Oops, something went wrong.