C# Class improved_movement

Inheritance: MonoBehaviour
Mostra file Open project: jsngai/deepsquid

Public Properties

Property Type Description
acc float
activeAbilities bool[]
currStamina float
isDead bool
outsideFactor Vector3
rotMax float
rotationDeadZone float
rotationSpeedMax float
sideMovementMod float
speedMod float
waveAcc bool

Public Methods

Method Description
ClampAngle ( float angle, float min, float max ) : float
FixedUpdate ( ) : void
Start ( ) : void
changeDec ( ) : void
getSlider ( float rate ) : void
toggleDeathState ( ) : void

Private Methods

Method Description
rotationHandler ( bool isEgg ) : void
rotationHandler2 ( bool isEgg ) : void
waitThisLong ( float x ) : IEnumerator
waveHadler ( ) : void

Method Details

ClampAngle() public static method

public static ClampAngle ( float angle, float min, float max ) : float
angle float
min float
max float
return float

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

changeDec() public method

public changeDec ( ) : void
return void

getSlider() public method

public getSlider ( float rate ) : void
rate float
return void

toggleDeathState() public method

public toggleDeathState ( ) : void
return void

Property Details

acc public_oe property

public float acc
return float

activeAbilities public_oe property

public bool[] activeAbilities
return bool[]

currStamina public_oe property

public float currStamina
return float

isDead public_oe property

public bool isDead
return bool

outsideFactor public_oe property

public Vector3 outsideFactor
return Vector3

rotMax public_oe property

public float rotMax
return float

rotationDeadZone public_oe property

public float rotationDeadZone
return float

rotationSpeedMax public_oe property

public float rotationSpeedMax
return float

sideMovementMod public_oe property

public float sideMovementMod
return float

speedMod public_oe property

public float speedMod
return float

waveAcc public_oe property

public bool waveAcc
return bool