C# Enabling and Disabling Components in Unity! – Beginner Scripting Tutorial
Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/enabling-and-disabling-components
How to enable and disable components via script during runtime.