Supporting our Community:
We’re making Learn Premium available to all users in perpetuity.
Start Learning.

Enabling and Disabling Components

Tutorial
Beginner
5 Mins
Overview
Details
Your progress
Also included in
Summary
How to enable and disable components via script during runtime.
This tutorial is included in the Beginner Scripting project.
Previous: Vector Maths
Next: Activating GameObjects
Select your Unity version
Last updated: July 11, 2019
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.x
4.x
Topics we'll cover
Industry
Language
English
Tutorial
Enabling and Disabling Components
2
Enabling and Disabling Components