ToggleKinematicLogic
A class in Root.Township, the global namespace.
Small component with methods to turn its rigidbody's isKinematic on or off, for wiring to UnityEvents.
- Listed in Global namespace: T to X
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
ToggleKinematicLogic() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
void KinematicOff() | Sets the rigidbody non-kinematic, so physics moves it. |
void KinematicOn() | Sets the rigidbody kinematic. |
1 private and internal method
Used in
Members of other types that take, return or hold a ToggleKinematicLogic: