C# 클래스 UnityPlatformer.CharacterActionPull

Push objects (Box) NOTE require CharacterActionGroundMovement
상속: CharacterAction
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 메소드들

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

EnterState

GetPostUpdateActions ( ) : PostUpdateActions

default

LoseControl ( float delta ) : void

ExitState

OnAfterMove ( Character ch, float delta ) : void

Move the Box after moving the character, so there is a gap between them

OnEnable ( ) : void
PerformAction ( float delta ) : void

Move Character, because the magic is in OnAfterMove

PullBox ( Vector3 velocity, Directions dir, float delta ) : void

Move a Box

WantsToUpdate ( float delta ) : int

메소드 상세

GainControl() 공개 메소드

EnterState
public GainControl ( float delta ) : void
delta float
리턴 void

GetPostUpdateActions() 공개 메소드

default
public GetPostUpdateActions ( ) : PostUpdateActions
리턴 PostUpdateActions

LoseControl() 공개 메소드

ExitState
public LoseControl ( float delta ) : void
delta float
리턴 void

OnAfterMove() 공개 메소드

Move the Box after moving the character, so there is a gap between them
public OnAfterMove ( Character ch, float delta ) : void
ch Character
delta float
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

PerformAction() 공개 메소드

Move Character, because the magic is in OnAfterMove
public PerformAction ( float delta ) : void
delta float
리턴 void

PullBox() 공개 메소드

Move a Box
public PullBox ( Vector3 velocity, Directions dir, float delta ) : void
velocity Vector3
dir Directions
delta float
리턴 void

WantsToUpdate() 공개 메소드

public WantsToUpdate ( float delta ) : int
delta float
리턴 int