PuzzleLightTarget
A class in Root.Township, the global namespace.
Light puzzle target: a puzzle condition that is complete while at least one beam hits it, shown by turning green or red.
- Listed in Global namespace: P
- Inherits or implements
PuzzleCondition,ILightDetector
Constructors
| Member | What it is |
|---|---|
PuzzleLightTarget() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
Methods
| Member | What it is |
|---|---|
void BeginHit(Beam input) | Counts the beam, marks complete and turns green. |
void EndHit(Beam input) | Uncounts the beam; when none are left, marks incomplete and turns red. |