Unity Basics
Ctrlk
  • Welcome
  • Getting Started with Unity Software
  • Helpful Shortcuts
  • The Unity Software Interface
    • The Default Interface
    • The Windows (Tabs)
    • Other Layouts
  • Create
    • Creating Game Objects
    • Creating Assets
    • Creating Components and Scripts
    • Creating Prefabs
  • Select and Update
    • General Selection
    • Search and Focus
    • Updating Game Objects
    • Updating Assets
    • Updating Components
  • Delete
    • Deleting Game Objects
    • 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
    • Rotate
    • Scale
    • Controlling Speed
    • Common Issues with Transforms
  • Materials
    • Material Basics
  • Physics
    • Physics Basics
    • Colliders and Triggers
    • Rigidbody Component
    • 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

Was this helpful?

  1. Delete

Deleting Components and Scripts

You can...

Delete or remove components in the Unity editor

Disable or remove components during gameplay

PreviousUsing the Destroy() FunctionNextDisabling and Removing Components in the Editor

Last updated 5 years ago

Was this helpful?