Class ToOwnerAttribute
- Namespace
- Unity.Multiplayer.Core
Marks a partial void method on a NetEntity as a call from the server to the client that owns the
entity. Only the server may call it; the owner runs void OnName(<same parameters>).
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class ToOwnerAttribute : Attribute
- Inheritance
-
ToOwnerAttribute
- Inherited Members
Properties
Delivery
Reliable (default) or unreliable.
public Delivery Delivery { get; set; }