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

Small sample script for placing obstacles. More...

Detailed Description

Small sample script for placing obstacles.

Public Member Functions

void PlaceObject ()
 
void RemoveObject ()
 

Public Attributes

bool direct = false
 GameObject to place.
 
GameObject go
 
bool issueGUOs = true
 Flush Graph Updates directly after placing.
 

Private Member Functions

void Start ()
 Issue a graph update object after placement.
 
void Update ()
 

Member Function Documentation

void PlaceObject ( )
void RemoveObject ( )
void Start ( )
private

Issue a graph update object after placement.

void Update ( )
private

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)

GameObject go
bool issueGUOs = true

Flush Graph Updates directly after placing.

Slower, but updates are applied immidiately


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