Skip to main content

LogicVector3Sender

A class in Root.Township, Alta.Logic.

Logic sender that outputs a Vector3 to linked receivers.

Constructors​

MemberWhat it is
LogicVector3Sender()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private Vector3 currentValueThe vector currently being output.

Methods​

MemberWhat it is
void UpdateValue(Vector3 value)Sets and sends a new value if it differs from the current one.
protected override void ReadDataValue()Copies the saved data value into currentValue.
protected override void WriteDataValue()Copies currentValue into the data that is sent and saved.