A class in Root.Township, the global namespace.
Same as PuzzleConditionsAND but for PuzzleConditionTemp conditions.
Constructors
| Member | What it is |
|---|
PuzzleConditionsANDTemp() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private PuzzleConditionTemp[] conditions | Child conditions that must all be complete. |
private int falseCount | Number of child conditions not yet complete. |
Methods
2 private and internal methods
| Member | What it is |
|---|
private void Awake() | Subscribes to every child condition and counts how many are incomplete. |
private void ConditionChanged(PuzzleConditionTemp condition) | Updates the incomplete count and the completion state when a child changes. |