C# 클래스 UnityPlatformer.CharacterActionWallStick

Stick at walls. Also perform wall-jumps
상속: CharacterAction
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 프로퍼티들

프로퍼티 타입 설명
actionJump CharacterActionJump
enableWallJumps bool
wallStickLeaveAgain float

공개 메소드들

메소드 설명
GainControl ( float delta ) : void

Reset SmoothDamp and enter state States.WallSliding

GetPostUpdateActions ( ) : PostUpdateActions

default behaviour

OnEnable ( ) : void

Initialization

PerformAction ( float delta ) : void

Stick, then slide down. Can dismount jumping if enableWallJumps

WantsToUpdate ( float delta ) : int

When Character is colliding left or right but now below and falling! Stick!

메소드 상세

GainControl() 공개 메소드

Reset SmoothDamp and enter state States.WallSliding
public GainControl ( float delta ) : void
delta float
리턴 void

GetPostUpdateActions() 공개 메소드

default behaviour
public GetPostUpdateActions ( ) : PostUpdateActions
리턴 PostUpdateActions

OnEnable() 공개 메소드

Initialization
public OnEnable ( ) : void
리턴 void

PerformAction() 공개 메소드

Stick, then slide down. Can dismount jumping if enableWallJumps
public PerformAction ( float delta ) : void
delta float
리턴 void

WantsToUpdate() 공개 메소드

When Character is colliding left or right but now below and falling! Stick!
public WantsToUpdate ( float delta ) : int
delta float
리턴 int

프로퍼티 상세

actionJump 공개적으로 프로퍼티

CharacterActionJump
public CharacterActionJump,UnityPlatformer actionJump
리턴 CharacterActionJump

enableWallJumps 공개적으로 프로퍼티

Character can use wall-jumps ?
public bool enableWallJumps
리턴 bool

wallStickLeaveAgain 공개적으로 프로퍼티

After wall-jump, time that CharacterActionWallStick will be disabled
public float wallStickLeaveAgain
리턴 float