I want to make a variable of a gameObject of a scene and access to all his properties and change it.
I want to activate and deactivate a SpotLight, change color, angle, etc, for example, from a script.
Sorry for ask this but is a little confusing and hard to searching it in Scripting Reference.