MushroomCritter
A class in Root.Township, the global namespace.
Tuning values for a schmeechee (mushroom critter): floor checks, push and turn forces, flipping and planting. A component read by Schmeechee and its actions.
- Listed in Global namespace: M to O
- Inherits or implements
NetworkEntityBehaviour
Constructors
| Member | What it is |
|---|---|
MushroomCritter() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
Properties
| Member | What it is |
|---|---|
MushroomCritter Hit { get; set; } | The last other mushroom critter this one bumped into. |
Methods
2 private and internal methods
| Member | What it is |
|---|---|
private void OnCollisionEnter(Collision collision) | Records another MushroomCritter it bumps into as Hit. |
private void OnDrawGizmosSelected() | Editor: draws the head check line used for flip detection. |
Used in
Members of other types that take, return or hold a MushroomCritter: