mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
add comments
This commit is contained in:
parent
4eed0ff7f1
commit
77ed0055a8
@ -59,11 +59,13 @@ public abstract class NetworkBehaviour : MonoBehaviour
|
||||
protected ulong syncVarDirtyBits { get; private set; }
|
||||
ulong syncVarHookGuard;
|
||||
|
||||
// USED BY WEAVER to set syncvars in host mode without deadlocking
|
||||
protected bool getSyncVarHookGuard(ulong dirtyBit)
|
||||
{
|
||||
return (syncVarHookGuard & dirtyBit) != 0UL;
|
||||
}
|
||||
|
||||
// USED BY WEAVER to set syncvars in host mode without deadlocking
|
||||
protected void setSyncVarHookGuard(ulong dirtyBit, bool value)
|
||||
{
|
||||
if (value)
|
||||
|
Loading…
Reference in New Issue
Block a user