βš’οΈAdd object placement to scene

Step-by-step guide to add object placement to your scene

This package supports Unity's both new InputSystem and the old Input for player controls.

Steps to setup:

  1. Add empty GameObject to your scene and add ObjectPlacement component to it

  2. Configure ObjectPlacement component:

    1. Setup tab, here you will find options for configuring core behaviour of the component, from ground detection logic to debug logs and gizmos.

      1. On how to set up custom or multiple placement areas, see Placement Area for more details.

    2. Input tab helps you configure built-in input support with new or old input system. This is completely optional, as you can manually call all the required methods for placement in code. More about this on Input.

    3. Prefabs tab, configure a list of prefabs to pick from when placing an object

    4. Visuals tab, configure animation and material behaviour here.

    5. Events tab is used for referencing any events with this game object directly. This is also option and can be used for all placements, or per game object.

Object placement options preview
  1. Save scene and you are done with scene set up!

For more customisation information check out how this all works here.

Last updated