A class in Root.Township, Alta.Logic.
Logic component that takes one Vector3 sender input and invokes a position handler with the new value whenever it changes. Server side; saves which sender it is linked to.
Constructors
| Member | What it is |
|---|
LogicVector3Receiver() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private PositionHandler onValueChanged | Position handler event set in the inspector, fired with the sender's Vector3 value. |
Methods
| Member | What it is |
|---|
protected override void ValueUpdated() | Called when the linked sender's value changes; invokes onValueChanged with the new Vector3. |