Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ClientRpc no longer need Rpc prefix (#2086)
Instead of doing ```cs [ClientRpc] public void RpcPepe() {} ``` You can now do ```cs [ClientRpc] 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
24 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
Assets/Mirror/Tests/Editor/Weaver/WeaverClientRpcTests~/ClientRpcStartsWithRpc.cs
This file was deleted.
Oops, something went wrong.