Skip to main content

LogicReset

A class in Root.Township, the global namespace.

Saved list of logic bool senders and the values to put them back to. ResetLogic restores them all, for example to reset a puzzle.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private List<LogicReset.BoolSenders> sendersSenders and their reset values.

Methods​

MemberWhat it is
void ResetLogic()Sets each sender back to its reset value and tells its save data it changed.
1 private and internal method
MemberWhat it is
private void OnDrawGizmos()Draws each sender in the editor, green for a true reset value and red for false.