Class TerrainEffect
TerrainEffects are added to NavAgents to temporarily change some properties
Inheritance
object
TerrainEffect
Assembly: cs.temp.dll.dll
Syntax
public class TerrainEffect
Constructors
TerrainEffect(float, float, Vector2, float, float, float)
Declaration
public TerrainEffect(float Uneveness, float Sliding, Vector2 WindForce, float GroundDistanceOffset, float WaveVerticalStrengthOffset, float WaveHorizontalStrengthOffset)
Parameters
Type |
Name |
Description |
float |
Uneveness |
|
float |
Sliding |
|
Vector2 |
WindForce |
|
float |
GroundDistanceOffset |
|
float |
WaveVerticalStrengthOffset |
|
float |
WaveHorizontalStrengthOffset |
|
Fields
Damage
Declaration
Field Value
DamageFlying
Declaration
Field Value
DamageGrounded
Declaration
public bool DamageGrounded
Field Value
DamageInterval
Declaration
public float DamageInterval
Field Value
GroundDistanceOffset
Declaration
public float GroundDistanceOffset
Field Value
Sliding
Value zone adds to NavAgents sliding time
Declaration
Field Value
Uneveness
Value zone adds to NavAgents speed
Declaration
Field Value
WaveHorizontalStrengthOffset
Horizontal animation wave strength offset adds to NavAgents
Declaration
public float WaveHorizontalStrengthOffset
Field Value
WaveVerticalStrengthOffset
Vertical animation wave strength offset adds to NavAgents
Declaration
public float WaveVerticalStrengthOffset
Field Value
WindFlying
Declaration
Field Value
WindForce
Wind force zone adds to NavAgents
Declaration
Field Value
WindGrounded
Declaration
Field Value
Methods
Clone()
Declaration
public TerrainEffect Clone()
Returns