-
-
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.
fix: Fixing SyncVars not serializing when OnSerialize is overridden (…
…#1671) * Adding SyncVar methods this will allow SyncVars to still work if user overrides OnSerialize as long as they call base.OnSerialize * Adding tests for NetworkBehaviour OnSerialize These tests make sure that weaver correctly create code for syncvar * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * Update Assets/Mirror/Runtime/NetworkBehaviour.cs * adding extra test Co-authored-by: Paul Pacheco <paulpach@gmail.com> Co-authored-by: vis2k <info@noobtuts.com>
- Loading branch information
1 parent
0e1aa1b
commit c66c5a6
Showing
4 changed files
with
391 additions
and
14 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
Oops, something went wrong.