Skip to main content

PuzzleConditionTemp

A class in Root.Township, the global namespace.

Base for a simple puzzle condition that is either met or not; subclasses like PuzzleConditionsANDTemp set the state.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private bool stateBacking field for CompletionState.

Properties​

MemberWhat it is
bool CompletionState { get; protected set; }Whether the condition is met. Setting it to a new value raises StateChanged.

Events​

MemberWhat it is
event PuzzleConditionHandlerTemp StateChangedRaised when CompletionState changes.

Used in​

Members of other types that take, return or hold a PuzzleConditionTemp: