Свойство | Тип | Описание | |
---|---|---|---|
anim | Animator | ||
facingRight | bool | ||
jumpTime | float | ||
platforms | GameObject[] | ||
startPlatform | GameObject |
Метод | Описание | |
---|---|---|
ChangePosition ( ) : void | ||
CheckDistance ( GameObject triggerPlatform ) : void | ||
FixedUpdate ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
GetAcceleration ( Vector2 targetPosition ) : Vector2 | ||
flip ( ) : void |
public CheckDistance ( GameObject triggerPlatform ) : void | ||
triggerPlatform | GameObject | |
Результат | void |