C# 클래스 TileMotor, MagesOfBlight

상속: BasicMotor
파일 보기 프로젝트 열기: DomCristaldi/MagesOfBlight 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
availableMoveSteps int
desiredPoint Vector3,
redirectSpeed float
speedRamp AnimationCurve
suppliedPath List
tilesMoved int

보호된 프로퍼티들

프로퍼티 타입 설명
_trueDirec Vector3,

공개 메소드들

메소드 설명
GivePath ( List path ) : void
NavigatePath ( ) : bool

보호된 메소드들

메소드 설명
Awake ( ) : void
MoveToLocation ( HexNode, start, HexNode, end ) : bool

Move the Agent in the directoin formed by the line from the star to the end. Returns true when Agent reaches end

MoveToLocationMethod ( Vector3, position, Vector3, destination, float deltaTime ) : Vector3,
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
HandleMovement ( ) : void
MoveRoutine ( List pathList ) : IEnumerator
UpdateTrueDirec ( ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

GivePath() 공개 메소드

public GivePath ( List path ) : void
path List
리턴 void

MoveToLocation() 보호된 메소드

Move the Agent in the directoin formed by the line from the star to the end. Returns true when Agent reaches end
protected MoveToLocation ( HexNode, start, HexNode, end ) : bool
start HexNode,
end HexNode,
리턴 bool

MoveToLocationMethod() 보호된 메소드

protected MoveToLocationMethod ( Vector3, position, Vector3, destination, float deltaTime ) : Vector3,
position Vector3,
destination Vector3,
deltaTime float
리턴 Vector3,

NavigatePath() 공개 메소드

public NavigatePath ( ) : bool
리턴 bool

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( ) : void
리턴 void

프로퍼티 상세

_trueDirec 보호되어 있는 프로퍼티

protected Vector3, _trueDirec
리턴 Vector3,

availableMoveSteps 공개적으로 프로퍼티

public int availableMoveSteps
리턴 int

desiredPoint 공개적으로 프로퍼티

public Vector3, desiredPoint
리턴 Vector3,

redirectSpeed 공개적으로 프로퍼티

public float redirectSpeed
리턴 float

speedRamp 공개적으로 프로퍼티

public AnimationCurve speedRamp
리턴 AnimationCurve

suppliedPath 공개적으로 프로퍼티

public List suppliedPath
리턴 List

tilesMoved 공개적으로 프로퍼티

public int tilesMoved
리턴 int