|
Data | GetData (string name) |
| Gets the corresponding footstep Data with the specified name.
|
|
Data | GetData (Material material) |
| Gets the corresponding footstep Data for the specified Material.
|
|
Data | GetData (Texture texture) |
| Gets the corresponding footstep Data for the specified Texture.
|
|
Data | GetData (RaycastHit hit) |
| Gets the corresponding footstep Data for the specified RaycastHit.
|
|
|
string | DefaultFootstepsName [get, set] |
| The default footsteps name that we select from the Footsteps list.
|
|
Data | DefaultFootsteps [get] |
| The default footsteps to use and also fallback to in the case that no matching footsteps were found.
|
|
List< Data > | Footsteps [get, set] |
| The list of footstep data.
|
|
float | WalkTimer [get, set] |
| The walking timer interval. 1 = 1 second between footsteps, 0.5 = 0.5 seconds between footsteps and so on. Lower is faster.
|
|
float | CrouchTimerMultiplier [get, set] |
| Interval multiplier for the walking timer when crouching. Higher than 1 slows it down (e.g 1.4 = 1.4x interval length), lower and it speeds it up.
|
|
float | SprintTimerMultiplier [get, set] |
| Interval multiplier for the walking timer when sprinting. Higher than 1 slows it down, lower and it speeds it up (e.g 0.6 = 0.6x interval length).
|
|
float | CrouchVolume [get, set] |
| Footstep volume when crouching.
|
|
float | WalkVolume [get, set] |
| Footstep volume when walking.
|
|
float | SprintVolume [get, set] |
| Footstep volume when sprinting.
|
|
float | LandingMinimumVelocity [get, set] |
| The minimum landing velocity.
|
|
float | LandingMaximumVelocity [get, set] |
| The maximum landing velocity.
|
|
float | LandingVolumeMultiplier [get, set] |
| The final volume multiplier of the landing sounds.
|
|
◆ GetData() [1/4]
Data MFPP.FootstepAsset.GetData |
( |
Material | material | ) |
|
Gets the corresponding footstep Data for the specified Material.
- Parameters
-
- Returns
- The corresponding footstep Data for the specified Material.
◆ GetData() [2/4]
Data MFPP.FootstepAsset.GetData |
( |
RaycastHit | hit | ) |
|
Gets the corresponding footstep Data for the specified RaycastHit.
- Parameters
-
- Returns
- The corresponding footstep Data for the specified RaycastHit.
◆ GetData() [3/4]
Data MFPP.FootstepAsset.GetData |
( |
string | name | ) |
|
Gets the corresponding footstep Data with the specified name.
- Parameters
-
- Returns
- The corresponding footstep Data with the specified name.
◆ GetData() [4/4]
Data MFPP.FootstepAsset.GetData |
( |
Texture | texture | ) |
|
Gets the corresponding footstep Data for the specified Texture.
- Parameters
-
- Returns
- The corresponding footstep Data for the specified Texture.
The documentation for this class was generated from the following file:
- Assets/MFPP/Scripts/Player/FootstepAsset.cs