Class NoAuthSpawnableObject
Inherited Members
Namespace: Global Namespace
Assembly: com.unity.multiplayer-hlapi.Tests.dll
Syntax
public class NoAuthSpawnableObject : NetworkBehaviour
Methods
OnStartAuthority()
Declaration
public override void OnStartAuthority()
Overrides
OnStartClient()
Called on every NetworkBehaviour when it is activated on a client.
Objects on the host have this function called, as there is a local client on the host. The values of SyncVars on object are guaranteed to be initialized correctly with the latest state from the server when this function is called on the client.
Declaration
public override void OnStartClient()
Overrides
OnStopAuthority()
This is invoked on behaviours when authority is removed.
When NetworkIdentity.RemoveClientAuthority is called on the server, this will be called on the client that owns the object.
Declaration
public override void OnStopAuthority()