Inherits MonoBehaviour.
Public Types | |
enum | LimitedTo { LimitedTo.All, LimitedTo.VisitedOnly, LimitedTo.VisibleOnly } |
Public Member Functions | |
void | InitPathfinding (Map map_) |
void | DestroyPathfinding () |
void | UpdatePathfinding (Address playerPosition) |
void | SetInput (Vector2 mousePosition, bool click) |
void | Update () |
Public Attributes | |
int | targetX |
int | targetY |
float | layer = 0.75f |
FilterMode | filterMode = FilterMode.Bilinear |
Color | emptyColor = new Color(0.0f, 0.0f, 0.0f, 0.0f) |
Color | pathColor = new Color(1.0f, 0.0f, 0.0f, 0.5f) |
List< string > | walkableTypes |
FogOfWar | fogOfWar |
LimitedTo | limitedTo = LimitedTo.VisibleOnly |
float | walkSpeed |
Properties | |
TurnBasedPlayerMovement | turnBasedMovement [get, set] |
void ProD.PathFinding.DestroyPathfinding | ( | ) |
void ProD.PathFinding.InitPathfinding | ( | Map | map_ | ) |
void ProD.PathFinding.SetInput | ( | Vector2 | mousePosition, |
bool | click | ||
) |
void ProD.PathFinding.Update | ( | ) |
void ProD.PathFinding.UpdatePathfinding | ( | Address | playerPosition | ) |
Color ProD.PathFinding.emptyColor = new Color(0.0f, 0.0f, 0.0f, 0.0f) |
FilterMode ProD.PathFinding.filterMode = FilterMode.Bilinear |
FogOfWar ProD.PathFinding.fogOfWar |
float ProD.PathFinding.layer = 0.75f |
LimitedTo ProD.PathFinding.limitedTo = LimitedTo.VisibleOnly |
Color ProD.PathFinding.pathColor = new Color(1.0f, 0.0f, 0.0f, 0.5f) |
int ProD.PathFinding.targetX |
int ProD.PathFinding.targetY |
List<string> ProD.PathFinding.walkableTypes |
float ProD.PathFinding.walkSpeed |
|
getset |