Class AlwaysNetworkVisibility
Always shows an object, even if player is loading scene This can be used to make sure that Managers in DontDestoryOnLoad dont get despawned
Inherited Members
Show
Mirage.NetworkVisibility.OnVisibilityChanged
Mirage.NetworkBehaviour._nextSyncTime
Mirage.NetworkBehaviour.SyncSettings
Mirage.NetworkBehaviour.IsServer
Mirage.NetworkBehaviour.IsClient
Mirage.NetworkBehaviour.IsLocalClient
Mirage.NetworkBehaviour.IsHost
Mirage.NetworkBehaviour.IsLocalPlayer
Mirage.NetworkBehaviour.IsServerOnly
Mirage.NetworkBehaviour.IsClientOnly
Mirage.NetworkBehaviour.HasAuthority
Mirage.NetworkBehaviour.NetId
Mirage.NetworkBehaviour.Server
Mirage.NetworkBehaviour.ServerObjectManager
Mirage.NetworkBehaviour.Client
Mirage.NetworkBehaviour.ClientObjectManager
Mirage.NetworkBehaviour.Owner
Mirage.NetworkBehaviour.World
Mirage.NetworkBehaviour.NetworkTime
Mirage.NetworkBehaviour.BehaviourId
Mirage.NetworkBehaviour.SyncVarDirtyBits
Mirage.NetworkBehaviour.AnySyncObjectDirty
Mirage.NetworkBehaviour.syncObjects
Mirage.NetworkBehaviour.Identity
Mirage.NetworkBehaviour.COMPONENT_INDEX_NOT_FOUND
Mirage.NetworkBehaviour.ComponentIndex
Mirage.NetworkBehaviour.InitSyncObject(Mirage.Collections.ISyncObject)
Mirage.NetworkBehaviour.UpdateSyncObjectShouldSync()
Mirage.NetworkBehaviour.SyncVarEqual<T>(T, T)
Mirage.NetworkBehaviour.ClearDirtyBits()
Mirage.NetworkBehaviour.AnyDirtyBits()
Mirage.NetworkBehaviour.SerializeObjectsAll(Mirage.Serialization.NetworkWriter)
Mirage.NetworkBehaviour.SerializeObjectsDelta(Mirage.Serialization.NetworkWriter)
Mirage.NetworkBehaviour.GetRpcCount()
Mirage.NetworkBehaviour.RegisterRpc(Mirage.RemoteCalls.RemoteCallCollection)
Syntax
public class AlwaysNetworkVisibility : NetworkVisibility, INetworkVisibility
Methods
OnCheckObserver(INetworkPlayer)
Declaration
public override bool OnCheckObserver(INetworkPlayer player)
Parameters
Type | Name | Description |
---|---|---|
Mirage.INetworkPlayer | player |
Returns
Type | Description |
---|---|
System.Boolean |
OnRebuildObservers(HashSet<INetworkPlayer>, Boolean)
Declaration
public override void OnRebuildObservers(HashSet<INetworkPlayer> observers, bool initialize)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.HashSet<Mirage.INetworkPlayer> | observers | |
System.Boolean | initialize |