A* Pathfinding Project
3.7.4
The A* Pathfinding Project for Unity 3D
|
Classes | |
class | ProceduralPrefab |
class | ProceduralTile |
Public Attributes | |
ProceduralPrefab[] | prefabs |
int | range = 1 |
How far away to generate tiles. | |
bool | staticBatching = false |
Enable static batching on generated tiles. | |
int | subTiles = 20 |
Transform | target |
float | tileSize = 100 |
World size of tiles. | |
Private Member Functions | |
IEnumerator | GenerateTiles () |
void | Start () |
void | Update () |
Private Attributes | |
Queue< IEnumerator > | tileGenerationQueue = new Queue<IEnumerator>() |
Dictionary< Int2, ProceduralTile > | tiles = new Dictionary<Int2, ProceduralTile>() |
All tiles. | |
|
private |
|
private |
|
private |
ProceduralPrefab [] prefabs |
int range = 1 |
How far away to generate tiles.
bool staticBatching = false |
Enable static batching on generated tiles.
Will improve overall FPS, but might cause FPS on some frames when static batching is done
int subTiles = 20 |
Transform target |
|
private |
|
private |
All tiles.
float tileSize = 100 |
World size of tiles.