Small sample script for placing obstacles.
More...
Small sample script for placing obstacles.
|
bool | direct = false |
| GameObject to place.
|
|
GameObject | go |
|
bool | issueGUOs = true |
| Flush Graph Updates directly after placing.
|
|
|
void | Start () |
| Issue a graph update object after placement.
|
|
void | Update () |
|
Issue a graph update object after placement.
GameObject to place.
Make sure the layer it is in is included in the collision mask on the GridGraph settings (assuming a GridGraph)
Flush Graph Updates directly after placing.
Slower, but updates are applied immidiately
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/ExampleScenes/ExampleScripts/ObjectPlacer.cs