Свойство | Type | Description | |
---|---|---|---|
anim | Animator | ||
direction | string | ||
groundCheck | Transform | ||
groundMask | LayerMask | ||
groundRadius | float | ||
jumpForce | float | ||
speed | float |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
DoJump ( ) : void | ||
FixedUpdate ( ) : void | ||
OnTriggerEnter2D ( |
||
SetDirection ( string newDirection ) : void | ||
SetIdle ( bool value ) : void | ||
SetJumpForce ( float newForce ) : void | ||
SetSpeed ( float newSpeed ) : void | ||
SlowToStop ( ) : void | ||
StopHind ( ) : void | ||
Update ( ) : void | ||
flipDirection ( ) : void |
public OnTriggerEnter2D ( |
||
other | ||
Résultat | void |
public SetDirection ( string newDirection ) : void | ||
newDirection | string | |
Résultat | void |
public SetJumpForce ( float newForce ) : void | ||
newForce | float | |
Résultat | void |