ToggleChildrenActive
A class in Root.Township, the global namespace.
A tiny component whose ToggleActive flips every direct child on or off. Meant to be called from a Unity event.
- Listed in Global namespace: T to X
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
ToggleChildrenActive() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
void ToggleActive() | Flips the active state of each direct child of this transform. |