C# 클래스 StateMachine.CharacterStateMachine

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: framadan/Final_Project_Main 1 사용 예제들

공개 메소드들

메소드 설명
AddState ( States state, float time, System.Action onEnterFunction = null, System.Action onUpdateFunction = null, System.Action onExitFunction = null ) : void
AreStatesActive ( ) : bool

Returns true if all of the States passed in are active. False if one or more was not active.

AreStatesInActive ( ) : bool

Returns true if all of the States passed in are Not Active. False if one or more was active.

DebugActiveStates ( ) : void
IsStateActive ( States state ) : bool
RemoveAllStates ( ) : void
RemoveSimilarStates ( States stateType, States stateToIgnore ) : void
RemoveState ( States state ) : void

메소드 상세

AddState() 공개 메소드

public AddState ( States state, float time, System.Action onEnterFunction = null, System.Action onUpdateFunction = null, System.Action onExitFunction = null ) : void
state States
time float
onEnterFunction System.Action
onUpdateFunction System.Action
onExitFunction System.Action
리턴 void

AreStatesActive() 공개 메소드

Returns true if all of the States passed in are active. False if one or more was not active.
public AreStatesActive ( ) : bool
리턴 bool

AreStatesInActive() 공개 메소드

Returns true if all of the States passed in are Not Active. False if one or more was active.
public AreStatesInActive ( ) : bool
리턴 bool

DebugActiveStates() 공개 메소드

public DebugActiveStates ( ) : void
리턴 void

IsStateActive() 공개 메소드

public IsStateActive ( States state ) : bool
state States
리턴 bool

RemoveAllStates() 공개 메소드

public RemoveAllStates ( ) : void
리턴 void

RemoveSimilarStates() 공개 메소드

public RemoveSimilarStates ( States stateType, States stateToIgnore ) : void
stateType States
stateToIgnore States
리턴 void

RemoveState() 공개 메소드

public RemoveState ( States state ) : void
state States
리턴 void