Object Placement
  • WELCOME
    • πŸ‘‹Hello
    • πŸ—ΊοΈRoadmap
    • ⛑️Support & Community
    • πŸŽ“Changelog
  • GETTING STARTED
    • πŸ”ŒImport package
    • βš’οΈAdd object placement to scene
    • 🚢Add object placement bounds
  • HOW IT WORKS
    • πŸ‘‡Object Placement
    • πŸ¦₯Placement Bounds
    • πŸ₯…Placement Area
Powered by GitBook
On this page
  1. GETTING STARTED

Add object placement to scene

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

PreviousImport packageNextAdd object placement bounds

Last updated 18 days ago

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 .

    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.

  1. Save scene and you are done with scene set up!

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

βš’οΈ
Input
Object placement options preview