C# Class improved_movement

Inheritance: MonoBehaviour
Show 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 property

public float acc
return float

activeAbilities public property

public bool[] activeAbilities
return bool[]

currStamina public property

public float currStamina
return float

isDead public property

public bool isDead
return bool

outsideFactor public property

public Vector3 outsideFactor
return Vector3

rotMax public property

public float rotMax
return float

rotationDeadZone public property

public float rotationDeadZone
return float

rotationSpeedMax public property

public float rotationSpeedMax
return float

sideMovementMod public property

public float sideMovementMod
return float

speedMod public property

public float speedMod
return float

waveAcc public property

public bool waveAcc
return bool