A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
ObjectPlacer Class Reference

Small sample script for placing obstacles. More...

+ Inheritance diagram for ObjectPlacer:
+ Collaboration diagram for ObjectPlacer:

Public Member Functions

void PlaceObject ()
 
void RemoveObject ()
 

Public Attributes

bool direct = false
 GameObject to place.
 
GameObject go
 

Private Member Functions

void Start ()
 Flush Graph Updates directly after placing.
 
void Update ()
 

Detailed Description

Small sample script for placing obstacles.

Member Function Documentation

void Start ( )
private

Flush Graph Updates directly after placing.

Slower, but updates are applied immidiately

Member Data Documentation

bool direct = false

GameObject to place.

Make sure the layer it is in is included in the collision mask on the GridGraph settings (assuming a GridGraph)


The documentation for this class was generated from the following file: