LocomotionModifierVolumeTrigger
A class in Root.Township, the global namespace.
Volume trigger that applies a LocomotionModifierCheck to players while they are inside it.
- Listed in Global namespace: I to L
- Inherits or implements
VolumeTrigger
Constructors
| Member | What it is |
|---|---|
LocomotionModifierVolumeTrigger() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|---|
private LocomotionModifierCheck check | The locomotion modifier to apply. |
Properties
| Member | What it is |
|---|---|
override bool IsCheckingForPlayer { get; } | Always true; this volume reacts to players. |
Methods
| Member | What it is |
|---|---|
protected override void PlayerEntered(SmoothLocomotionPlayerController player) | Applies the check to the entering player. |
protected override void PlayerLeft(SmoothLocomotionPlayerController player) | Removes the check from the leaving player. |