![]() |
Public Member Functions | |
Networked (int size=1, int min=-1, int max=-1, float precision=-1, Relevancy relevancy=Relevancy.Everyone) | |
Use this attribute on any property you want to replicate/sync. para> * If this property is a network array, use the parameter "size" to specify the size of the array.
para> * (compression) If you want set a precision for this property, use the parameter "precision". Only works on Float/Vector3/Vector2/Quaternion.
para> * (compression) If you want set a maximum value for this property, use the parameter "max". Only works on Int.
para> * (compression) If you want set a minimum value for this property, use the parameter "min". Only works on Int.
/summary>
Netick.Networked.Networked | ( | int | size = 1 , |
int | min = -1 , |
||
int | max = -1 , |
||
float | precision = -1 , |
||
Relevancy | relevancy = Relevancy.Everyone |
||
) |