C# Класс TileMotor, MagesOfBlight

Наследование: BasicMotor
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
availableMoveSteps int
desiredPoint Vector3,
redirectSpeed float
speedRamp AnimationCurve
suppliedPath List
tilesMoved int

Защищенные свойства (Protected)

Свойство Тип Описание
_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