Class Networked
- Namespace
- Netick
- Assembly
- Netick.dll
Use this attribute on a property to make it networked. It will be synchronized across the network.
* Use the parameter "size" to specify the max capacity of a network array/collection.
* Use the parameter "relevancy" to specify who will receive this variable.
* Use the parameter "precision" to specify the precision of a float-based variable.
* Use the parameter "ensureSafety" to specify if it will always be safe to access this variable (for instance, when Netick is not running).
public class Networked : Attribute
- Inheritance
-
Networked
- Inherited Members
Constructors
Networked(int, Relevancy, float, bool)
public Networked(int size = 1, Relevancy relevancy = Relevancy.Everyone, float precision = 0.001, bool ensureSafety = false)