A class in Root.Township, the global namespace.
Drops stalactites one at a time: each call frees a random one that hasn't fallen yet.
Constructors
| Member | What it is |
|---|
StalactiteFall() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private ToggleKinematicLogic[] stalactites | The stalactites, each with a kinematic toggle. |
private bool[] triggeredValues | Which stalactites have dropped. |
Methods
| Member | What it is |
|---|
void SendOneTrue() | Turns off kinematic on a random undropped stalactite, or logs if all have dropped. |
2 private and internal methods
| Member | What it is |
|---|
private bool AllTriggered() | True once every stalactite has dropped. |
private void Awake() | Sets up the dropped flags. |