How do I do this? I want to disable a list of components that I will assign through the editor and I want them to be any type of component (not only MonoBehaviours, but lights, MeshRenderers and etc...), how can I do this?
↧