Skip to main content

LogicIntSet

A class in Root.Township, the global namespace.

Saved integer that is sent to onValueChanged once at start. Saved and loaded through LogicIntSetData.

Constructors​

MemberWhat it is
LogicIntSet()Creates a LogicIntSet with default values.

Fields​

2 private and internal fields
MemberWhat it is
private IntUnityEvent onValueChangedEvent that receives the value at start.
private int valueThe saved integer.

Methods​

1 private and internal method
MemberWhat it is
private void Start()Fires onValueChanged with the stored value.