Skip to main content

TempDoor

A class in Root.Township, the global namespace.

Prototype door that listens to a temporary puzzle condition but does nothing with it.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private PuzzleConditionTemp conditionThe puzzle condition watched.

Methods​

2 private and internal methods
MemberWhat it is
private void Awake()Subscribes to the condition's state changes.
private void StateChanged(PuzzleConditionTemp condition)Reads the condition's completion state and does nothing with it.