Class Config
This is the main abstract class keeping relevant config data for axis to work with
If you are about to change any value do it with caution.
Inheritance
object
Config
Namespace: Axis
Assembly: cs.temp.dll.dll
Syntax
public static class Config
Fields
AsyncCollidersPerFrame
Maximum number of solid colliders moving to update per frame
Declaration
public const int AsyncCollidersPerFrame = 10
Field Value
AsyncPathPerFrame
Maximum async paths to be processed in a single frame
Declaration
public const int AsyncPathPerFrame = 5
Field Value
GamePaused
Declaration
public static bool GamePaused
Field Value
GroundCoyoteTime
Time to help player be able to jump when start falling a hill
Declaration
public const float GroundCoyoteTime = 0.12
Field Value
Materials
Declaration
public static ConfigMaterials Materials
Field Value
MaxAgentSpeed
Maximum speed for NavAgents
Declaration
public const int MaxAgentSpeed = 10
Field Value
MaxAsyncCollidersExpected
Expected number of solid colliders moving around
Declaration
public const int MaxAsyncCollidersExpected = 50
Field Value
MaxAsyncPathsExpected
Expected number of simultaneous async paths to process
Declaration
public const int MaxAsyncPathsExpected = 50
Field Value
MaxCollidersOverlap
Maximum number of Colliders on a singe tile
Declaration
public const int MaxCollidersOverlap = 80
Field Value
MaxStepsPerPath
Expected number of steps in paths
Declaration
public const int MaxStepsPerPath = 50
Field Value
MaxZonesOverlap
Maximum number of NavZones on a singe tile
Declaration
public const int MaxZonesOverlap = 10
Field Value
WaitAnimationsEnterDone
Declaration
public static WaitUntil WaitAnimationsEnterDone
Field Value
Type |
Description |
WaitUntil |
|
WaitAnimationsExitDone
Declaration
public static WaitUntil WaitAnimationsExitDone
Field Value
Type |
Description |
WaitUntil |
|
WaitDecSec
Declaration
public static WaitForSeconds WaitDecSec
Field Value
Type |
Description |
WaitForSeconds |
|
WaitFrame
Declaration
public static WaitForEndOfFrame WaitFrame
Field Value
Type |
Description |
WaitForEndOfFrame |
|
WaitFrame15fps
Declaration
public static WaitForSeconds WaitFrame15fps
Field Value
Type |
Description |
WaitForSeconds |
|
WaitFrame30fps
Declaration
public static WaitForSeconds WaitFrame30fps
Field Value
Type |
Description |
WaitForSeconds |
|
WaitFrame60fps
Declaration
public static WaitForSeconds WaitFrame60fps
Field Value
Type |
Description |
WaitForSeconds |
|
WaitHalfSec
Declaration
public static WaitForSeconds WaitHalfSec
Field Value
Type |
Description |
WaitForSeconds |
|
WaitResumeGame
Declaration
public static WaitUntil WaitResumeGame
Field Value
Type |
Description |
WaitUntil |
|
Properties
DefaultGridGenerationIgnoreLayerMask
Declaration
public static int DefaultGridGenerationIgnoreLayerMask { get; }
Property Value
GameTimeScale
This is the scale used for timing in the axis simulation
Declaration
public static float GameTimeScale { get; set; }
Property Value
RawGameTimeScale
Declaration
public static float RawGameTimeScale { get; }
Property Value
Methods
GetDelayedWaveCosine(float)
Get default cosine wave with specific offset in the animation
Declaration
public static float GetDelayedWaveCosine(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
Type |
Description |
float |
Cosine wave -1f to 1f
|
GetDelayedWaveCosine2(float)
Get default cosine wave with specific offset in the animation
Declaration
public static float GetDelayedWaveCosine2(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
Type |
Description |
float |
Cosine wave -1f to 1f
|
GetDelayedWaveLinear(float)
Declaration
public static float GetDelayedWaveLinear(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
GetDelayedWaveSawTooth(float)
Declaration
public static float GetDelayedWaveSawTooth(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
GetDelayedWaveSine(float)
Get default sine wave with specific offset in the animation
Declaration
public static float GetDelayedWaveSine(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
Type |
Description |
float |
Sine wave -1f to 1f
|
GetDelayedWaveSine2(float)
Get default sine wave with specific offset in the animation
Declaration
public static float GetDelayedWaveSine2(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
Type |
Description |
float |
Sine wave -1f to 1f
|
GetDelayedWaveSineUI(float)
Get default sine wave with specific offset in the animation
Declaration
public static float GetDelayedWaveSineUI(float offset = 0)
Parameters
Type |
Name |
Description |
float |
offset |
|
Returns
Type |
Description |
float |
Sine wave -1f to 1f
|