Updating Game Objects in the Editor

To update a game object, you will need to select it in either the Hierarchy or Scene windows.

Changes made while in Play Mode will revert back to the values before playing.

You can copy the component attached to a game object and its values in Play Mode, then paste the values or as a new component when no longer in Play Mode.

Different Tabs for Different Features

Below are ways you can update game objects in each of the default windows.

Hierarchy Window

  • Click and drag game objects to order and organize them

  • Click and drag game objects to change to create parent and child objects

  • Rename game objects

    Options: 1. Click once to make the name editable 2. Right-click or use the taskbar GameObject menu

  • Change the visibility in the Scene view

  • Change whether or not the object can be selected within the Scene view

Scene View / Window

Inspector Window

  • Update values within the components

  • Rename objects

  • Activate / deactivate components and scripts

Project Window

  • Click and drag assets to objects in the Hierarchy or Scene windows

  • Click and drag assets to components and scripts

  • Update materials

  • Update assets used by game objects (such as materials)

Updating Transforms

For detailed information about ways to update the position, rotation, and scale of game objects, please see the following section:

Adding Assets to Game Objects

Some assets such as materials and scripts can be added to game objects by clicking the asset and dragging it onto the object in the Hierarchy or Scene windows. If the object is selected and showing in the Inspector, you can click and drag some assets into the Inspector window to add it.

Last updated