Unity wyłącz komponent wyłącz

object.GetComponenet<Component>().enabled = false;
Talented Turkey