C# Класс Pathfinding.ConstantPath

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

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

Свойство Тип Описание
allNodes List
endingCondition PathEndingCondition
originalStartPoint Vector3
startNode GraphNode
startPoint Vector3

Открытые методы

Метод Описание
CalculateStep ( long targetTick ) : void
Cleanup ( ) : void
ConstantPath ( ) : UnityEngine
Construct ( Vector3 start, int maxGScore, OnPathDelegate callback = null ) : ConstantPath
Initialize ( ) : void
OnEnterPool ( ) : void
Prepare ( ) : void
Reset ( ) : void

Защищенные методы

Метод Описание
Recycle ( ) : void
Setup ( Vector3 start, int maxGScore, OnPathDelegate callback ) : void

Приватные методы

Метод Описание
ConstantPath ( Vector3 start, OnPathDelegate callbackDelegate ) : UnityEngine
ConstantPath ( Vector3 start, int maxGScore, OnPathDelegate callbackDelegate ) : UnityEngine

Описание методов

CalculateStep() публичный Метод

public CalculateStep ( long targetTick ) : void
targetTick long
Результат void

Cleanup() публичный Метод

public Cleanup ( ) : void
Результат void

ConstantPath() публичный Метод

public ConstantPath ( ) : UnityEngine
Результат UnityEngine

Construct() публичный статический Метод

public static Construct ( Vector3 start, int maxGScore, OnPathDelegate callback = null ) : ConstantPath
start Vector3
maxGScore int
callback OnPathDelegate
Результат ConstantPath

Initialize() публичный Метод

public Initialize ( ) : void
Результат void

OnEnterPool() публичный Метод

public OnEnterPool ( ) : void
Результат void

Prepare() публичный Метод

public Prepare ( ) : void
Результат void

Recycle() защищенный Метод

protected Recycle ( ) : void
Результат void

Reset() публичный Метод

public Reset ( ) : void
Результат void

Setup() защищенный Метод

protected Setup ( Vector3 start, int maxGScore, OnPathDelegate callback ) : void
start Vector3
maxGScore int
callback OnPathDelegate
Результат void

Описание свойств

allNodes публичное свойство

public List allNodes
Результат List

endingCondition публичное свойство

public PathEndingCondition,Pathfinding endingCondition
Результат PathEndingCondition

originalStartPoint публичное свойство

public Vector3 originalStartPoint
Результат Vector3

startNode публичное свойство

public GraphNode,Pathfinding startNode
Результат GraphNode

startPoint публичное свойство

public Vector3 startPoint
Результат Vector3