C# 클래스 UnityPlatformer.CharacterActionMelee

Melee attack NOTE Can't be interrupted atm
상속: CharacterActionTimed
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 프로퍼티들

프로퍼티 타입 설명
action string
damageAreas MeleeDamage[]

공개 메소드들

메소드 설명
EndAction ( ) : void

ExitState

GetPostUpdateActions ( ) : PostUpdateActions
OnActionDown ( string _action ) : void

input.onActionDown callabck

OnActionUp ( string _action ) : void

input.onActionUp callabck

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

Disable all areas

StartAction ( ) : void

EnterState

WantsToUpdate ( float delta ) : int

attackHeld & and previous attack ended TODO REVIEW continous attack ?

메소드 상세

EndAction() 공개 메소드

ExitState
public EndAction ( ) : void
리턴 void

GetPostUpdateActions() 공개 메소드

public GetPostUpdateActions ( ) : PostUpdateActions
리턴 PostUpdateActions

OnActionDown() 공개 메소드

input.onActionDown callabck
public OnActionDown ( string _action ) : void
_action string
리턴 void

OnActionUp() 공개 메소드

input.onActionUp callabck
public OnActionUp ( string _action ) : void
_action string
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

PerformAction() 공개 메소드

public PerformAction ( float delta ) : void
delta float
리턴 void

Reset() 공개 메소드

Disable all areas
public Reset ( ) : void
리턴 void

StartAction() 공개 메소드

EnterState
public StartAction ( ) : void
리턴 void

WantsToUpdate() 공개 메소드

attackHeld & and previous attack ended TODO REVIEW continous attack ?
public WantsToUpdate ( float delta ) : int
delta float
리턴 int

프로퍼티 상세

action 공개적으로 프로퍼티

Input action name
public string action
리턴 string

damageAreas 공개적으로 프로퍼티

List of Damage areas, something like moving hitboxes
public MeleeDamage[] damageAreas
리턴 MeleeDamage[]