Mirror/Assets
James Frowen c66c5a6dcc
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>
2020-04-14 11:11:15 +02:00
..
Mirror fix: Fixing SyncVars not serializing when OnSerialize is overridden (#1671) 2020-04-14 11:11:15 +02:00
ScriptTemplates Updated Netowork Observer template 2020-04-13 21:08:14 -04:00
Mirror.meta Source based instead of dll (#277) 2019-01-13 21:08:54 +01:00
ScriptTemplates.meta add missing meta file 2019-11-23 11:00:49 +09:00