C# 클래스 Example2Actor, Fluent-State-Machine

상속: MonoBehaviour
파일 보기 프로젝트 열기: Real-Serious-Games/Fluent-State-Machine

공개 프로퍼티들

프로퍼티 타입 설명
goal Transform

공개 메소드들

메소드 설명
OnTriggerEnter ( Collider collider ) : void

Tell our state machine that the target has been reached once we hit the trigger

Start ( ) : void
Update ( ) : void

메소드 상세

OnTriggerEnter() 공개 메소드

Tell our state machine that the target has been reached once we hit the trigger
public OnTriggerEnter ( Collider collider ) : void
collider Collider
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

goal 공개적으로 프로퍼티

Goal to move towards
public Transform goal
리턴 Transform