RigidbodyCollection
A class in Root.Township, the global namespace.
Holds a list of rigidbodies, filled from children in the editor, and gives them as a set.
- Listed in Global namespace: Q to R
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
RigidbodyCollection() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Properties
| Member | What it is |
|---|---|
HashSet<Rigidbody> Rigidbodies { get; } | The rigidbodies as a set without duplicates, built on first use. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a RigidbodyCollection: