LogicIntReceiver
A class in Root.Township, Alta.Logic.
Logic receiver that listens to an int sender and raises a Unity event with each new value. Saves the link to its sender.
- Listed in Items, inventory and logic
- Inherits or implements
LogicValueReceiver<IntSenderInput>,ISavable<LogicIntReceiverData>,ISavableSave<LogicIntReceiverData>,ISavableSaveBase - Derived types
LogicIntReceiverData
Constructors
| Member | What it is |
|---|---|
LogicIntReceiver() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private IntUnityEvent onValueChanged | Unity event called with the new int value. |
Methods
| Member | What it is |
|---|---|
protected override void ValueUpdated() | Invokes onValueChanged with the sender's current value. |
Used in
Members of other types that take, return or hold a LogicIntReceiver: