intcreating a custom Read/Write function will allow you to sync
[System.NonSerialized]and weaver will ignore it
NOTE: Types in this list can have custom writers.
netIdof the Object is sent over the network, and the Object with the same
netIdis returned on the other side. If the
netIdis zero or an object is not found then
nullwill be returned.
[System.NonSerialized]. If there is an unsupported type in the class or struct Weaver will fail to make Read/Write functions for it.
NOTE: Weaver does not check properties
Switchwill use the
byteRead/Write functions to be Serialized
floatis a supported type because Mirror has a built-in Read/Write function for
MyDatais a supported type as Weaver is able to generate a Read/Write function for
WriteMyTypeso it is obvious what type they are for. However the name of the function doesn't matter, weaver should be able to find it no matter what it is called.
Component. But a custom writer can be added so that it is synced using a NetworkIdentity if one is attached.
MyCollision, but instead you could add functions for
Rigidbodyand let weaver would generate a writer for