Unity Basics
  • Welcome
  • Getting Started with Unity Software
  • Helpful Shortcuts
  • The Unity Software Interface
    • The Default Interface
    • The Windows (Tabs)
      • Hierarchy Window
      • Scene Window
      • Project Window
      • Inspector Window
      • Game Window
      • Console Window
    • Other Layouts
      • Create a Custom Layout
  • Create
    • Creating Game Objects
      • 3D Primitives
      • Creating Game Objects in the Editor
      • Spawning Objects
      • Unhiding/Hiding Objects During Gameplay
      • Parenting
    • Creating Assets
    • Creating Components and Scripts
      • Adding Components in the Inspector
      • Creating Custom Components and Scripts
    • Creating Prefabs
  • Select and Update
    • General Selection
    • Search and Focus
    • Updating Game Objects
      • Updating Game Objects in the Editor
      • Updating Prefabs
    • Updating Assets
    • Updating Components
      • Update Components in the Inspector
      • Accessing Components Through Scripts
  • Delete
    • Deleting Game Objects
      • Deleting and Disabling Objects in the Editor
      • Using the Destroy() Function
    • Deleting Components and Scripts
      • Disabling and Removing Components in the Editor
      • Disabling and Removing Components During Gameplay
  • Translate, Rotate, and Scale
    • Intro to Transforms
    • Handy Transform Shortcuts
    • Translate
      • Positioning Game Objects in the Editor
      • Updating Position Through Script Code
      • Using the Transform.Translate() Function
    • Rotate
      • Rotating Game Objects in the Editor
      • Updating Rotation Through Script Code
      • Using the Transform.Rotate() Function
    • Scale
      • Resizing/Scaling Objects in the Editor
      • Updating Scale Through Script Code
    • Controlling Speed
    • Common Issues with Transforms
  • Materials
    • Material Basics
      • Creating and Applying Materials
      • Accessing Materials Through Code
  • Physics
    • Physics Basics
    • Colliders and Triggers
      • Collider Component Overview
      • Accessing Colliders Through Scripts
      • Common Issues: Colliders and Triggers
    • Rigidbody Component
      • Rigidbody Component Overview
      • Accessing the Rigidbody Component Through Scripts
      • Common Issues: Rigidbody Components
    • Common Issues: Physics and Velocity
  • Interaction
    • Interaction Basics
    • Keyboard Controls
    • Mouse Controls
  • Coding Basics
    • Intro to Scripts
    • Variables
    • Conditionals (If / Then / Else)
    • Arrays
    • Loops
    • Functions
Powered by GitBook
On this page
  • Different Tabs for Different Features
  • Hierarchy Window
  • Scene View / Window
  • Inspector Window
  • Project Window
  • Updating Transforms
  • Adding Assets to Game Objects

Was this helpful?

  1. Select and Update
  2. Updating Game Objects

Updating Game Objects in the Editor

PreviousUpdating Game ObjectsNextUpdating Prefabs

Last updated 4 years ago

Was this helpful?

To update a game object, you will need to select it in either the or 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

  • Rename game objects

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

  • Change the in the Scene view

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

Scene View / Window

  • Click and drag on the colored vectors to update the

  • Use the

  • Use custom tools

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.

Intro to Transforms
Creating Game Objects
Deleting Game Objects
Deleting and Disabling Objects in the Editor
Hierarchy
Scene
create parent and child objects
position, rotation, and scale
visibility
selected
tools at the top left of the window