Class ObjectPlacer Extends MonoBehaviour

Public

Small sample script for placing obstacles.

Public Methods

PlaceObject ()
Public
RemoveObject ()
Public

Public Variables

alignToSurface

Align created objects to the surface normal where it is created.

Public
direct

Flush Graph Updates directly after placing.

Public
go

GameObject to place.

Public
issueGUOs

Issue a graph update object after placement.

Public

Private/Protected Members

lastPlacedTime
Private
Update ()

Update is called once per frame.

Private