Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
fw:unity3d:environtment2d [2014/04/24 13:36] alfred [Basic] |
fw:unity3d:environtment2d [2020/05/09 09:25] (actual) |
||
|---|---|---|---|
| Línea 26: | Línea 26: | ||
| * ''OnDisable()'' | * ''OnDisable()'' | ||
| * ''OnGUI()'' | * ''OnGUI()'' | ||
| + | |||
| + | Properties | ||
| + | * ''transform'', contains the methods and objects to move the object. | ||
| === Interact with objects === | === Interact with objects === | ||
| Línea 78: | Línea 81: | ||
| * ''Debug.Log()'', shows a message in console. | * ''Debug.Log()'', shows a message in console. | ||
| * ''Debug.Break()'', stops the game. | * ''Debug.Break()'', stops the game. | ||
| + | |||
| + | === Camera === | ||
| + | The static object ''Camera.main'' contains the main camera for the scene. | ||
| + | * ''ViewportToWorldPoint'' and ''WorldToViewportPoint'' to transform coordinates. | ||
| === Useful functions === | === Useful functions === | ||