how to activate a component in unity code example
Example: enabling and disabling components unity
//Enable or disable a component in Unity example:
component.enabled = false;
//Enable or disable a component in Unity example:
component.enabled = false;