C# Class BeardedManStudios.Network.NetworkedMonoBehavior.NetSync

Attribute for easily replicating properties and fields across the network
Inheritance: System.Attribute
Show file Open project: drakelinglabs/unityarmada

Public Properties

Property Type Description
callers NetworkCallers
interpolate Interpolate
method string

Public Methods

Method Description
NetSync ( ) : System.Threading.Tasks
NetSync ( Interpolate ignoreInterpolation ) : System.Threading.Tasks
NetSync ( string method, NetworkCallers callers ) : System.Threading.Tasks
NetSync ( string method, NetworkCallers callers, Interpolate ignoreInterpolation ) : System.Threading.Tasks

Method Details

NetSync() public method

public NetSync ( ) : System.Threading.Tasks
return System.Threading.Tasks

NetSync() public method

public NetSync ( Interpolate ignoreInterpolation ) : System.Threading.Tasks
ignoreInterpolation Interpolate
return System.Threading.Tasks

NetSync() public method

public NetSync ( string method, NetworkCallers callers ) : System.Threading.Tasks
method string
callers NetworkCallers
return System.Threading.Tasks

NetSync() public method

public NetSync ( string method, NetworkCallers callers, Interpolate ignoreInterpolation ) : System.Threading.Tasks
method string
callers NetworkCallers
ignoreInterpolation Interpolate
return System.Threading.Tasks

Property Details

callers public property

Used to determine who is to call the callback method when the value has changed
public NetworkCallers callers
return NetworkCallers

interpolate public property

This is uesd to determine if this value ignores interpolation
public Interpolate interpolate
return Interpolate

method public property

The name of the method to execute when the value has changed
public string method
return string