Table of Contents

Class NetVar_Vector2

Namespace
Netick
Assembly
Netick.dll
public class NetVar_Vector2 : INetworkedVariable<Vector2>, Serializable
Inheritance
NetVar_Vector2
Implements
Inherited Members

Constructors

NetVar_Vector2(Vector2, NetworkBehaviour, int, bool, int, bool, FloatCompressor, OnChangedEvent<Vector2>, int)

public NetVar_Vector2(Vector2 inital, NetworkBehaviour netObject, int id, bool isPredicted, int interpolationOption, bool onlyInputSource, FloatCompressor compressor, OnChangedEvent<Vector2> onChanged = null, int interpolationId = -1)

Parameters

inital Vector2
netObject NetworkBehaviour
id int
isPredicted bool
interpolationOption int
onlyInputSource bool
compressor FloatCompressor
onChanged OnChangedEvent<Vector2>
interpolationId int

Methods

IsNotEqual(Vector2, Vector2)

public override bool IsNotEqual(Vector2 a, Vector2 b)

Parameters

a Vector2
b Vector2

Returns

bool