Tags: lvcoc/Mirror
Tags
fix: register prefab error with same guid (MirrorNetworking#2092) * tests for when newassetId is same as current * stopping error if ids are the same * invert if and adding comment
fix: renaming call/invoke prefix for SyncEvent (MirrorNetworking#2089) * renaming sync event same reason as MirrorNetworking#2088 * removing un-used const
feat: Rigidbody example (MirrorNetworking#2076) * adding example for NetworkRigidbody * adding hud * adding empty player so that scene objects spawn * turning off debug logs
feat: Sync Events no longer need Event prefix (MirrorNetworking#2087) Instead of doing ```cs [SyncEvent] public event MySyncEventDelegate EventOnly; ``` You can now do ```cs [SyncEvent] public event MySyncEventDelegate Only; ``` 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 <[email protected]>
feat: ClientRpc no longer need Rpc prefix (MirrorNetworking#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 <[email protected]>
fix: not removing server if id is empty (MirrorNetworking#2078) * logging error message * not removing server if ID is empty
tests for struct message with empty function (MirrorNetworking#2067)
perf: Use invokeRepeating instead of Update (MirrorNetworking#2066) * perf: Use invokeRepeating instead of Update If you have low frequency calls, InvokeRepeating is a lot faster than Update(). Use InvokeRepeating for NetworkProximityChecker * Fix indentation Co-authored-by: Paul Pacheco <[email protected]>
fix: weaver now processes multiple SyncEvent per class (MirrorNetwork… …ing#2055) * weaver test for mutlitple events * tests for multiple sync events in 1 class * removing break so that multiple events will be proccessed It seems like this break was here because unet used foreach CustomAttributes but mirror uses GetCustomAttribute
fix: If socket is undefined it will return false. See MirrorNetworkin… …g#1486 (MirrorNetworking#2017)
PreviousNext