SingleClientEvent Class

Event used for when you want something to only apply for a single client.

Definition

Namespace: Alteruna.Multiplayer
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
C#
public class SingleClientEvent : CommunicationBridge
Inheritance
Object    Object    Component    Behaviour    MonoBehaviour    CommunicationBridge    SingleClientEvent

Remarks

When on an avatar, the controller will be the avatar owner. Otherwise, the controller will be the client with the lowest user index.

Constructors

Properties

IsControlled Gets if the local client is the controller.

Methods

Fields

OnClientChanged Runs when the controlling client is changed.

See Also