Version: 5.5
Transform
Desactivando GameObjects

Creando componentes desde scripting

Programar (o la creación de scripts) es escribir sus propias adiciones a la funcionalidad del Editor de Unity en el código, utilizando el Unity Scripting API.

Cuando cree un script y lo adjunte a un GameObject, el script aparece en el Inspector del GameObject como un Component incorporado. Esto se debe a que los scripts se convierten en components cuando los guarda en su proyecto.

In technical terms, any script you make compiles as a type of component, so the Unity Editor treats your script like a built-in component. You define the members of the scipt to be exposed in the Inspector, and the Editor executes whatever functionality you’ve written.

Read more about creating and using scripts the Scripting section of this User Manual.

Transform
Desactivando GameObjects