Skip to main content

Enum RpcTarget

Used by ClientRpc to tell mirage who to send remote call to

Syntax
public enum RpcTarget

Fields

Owner

Sends to the that owns the object

Declaration
Owner = 0

Observers

Sends to all that can see the object

Declaration
Observers = 1

Player

Sends to the that is given as an argument in the RPC function (requires target to be an observer)

Declaration
Player = 2