Noticias

¡RECUERDA QUE SI ERES UN NUEVO USUARIO, DEBES PRESENTARTE PARA PODER PUBLICAR MENSAJES! | TENEMOS CANAL OFICIAL DE TELEGRAM: t.me/unity3dspain

TROPICAL PARADISE

Iniciado por El preguntón, Marzo 09, 2016, 09:03:01 PM

Tema anterior - Siguiente tema
Marzo 09, 2016, 09:03:01 PM Ultima modificación: Junio 12, 2016, 12:55:42 AM por pioj
Hola comunidad, me he encontrado con unos problemas en la consola al importar "Tropical paradise" de Unity Live Demos. Como ya he dicho otras veces no sé mucho de programación así que no entiendo lo que me quiere decir. A más, ¿Por qué sucede esto en Unity 5 y no en Unity 4? En la versión anterior no me pasaba. ¿Qué es lo que debo hacer para solucionar todos estos errores?
 
Gracias antes de nada
 



   
       
   
   
      1) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(72,17): error CS0619: `UnityEngine.Component.camera' is obsolete: `Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)'
   
   
      2) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(72,24): error CS1061: Type `UnityEngine.Component' does not contain a definition for `depthTextureMode' and no extension method `depthTextureMode' of type `UnityEngine.Component' could be found (are you missing a using directive or an assembly reference?)
   
   
      3) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(103,30): error CS0619: `UnityEngine.Component.camera' is obsolete: `Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)'
   
   
      4) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(103,37): error CS1061: Type `UnityEngine.Component' does not contain a definition for `fieldOfView' and no extension method `fieldOfView' of type `UnityEngine.Component' could be found (are you missing a using directive or an assembly reference?)
   
   
      5) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(104,29): error CS0619: `UnityEngine.Component.camera' is obsolete: `Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)'
   
   
      6) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(104,36): error CS1061: Type `UnityEngine.Component' does not contain a definition for `farClipPlane' and no extension method `farClipPlane' of type `UnityEngine.Component' could be found (are you missing a using directive or an assembly reference?)
   
   
      7) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(106,31): error CS0619: `UnityEngine.Component.camera' is obsolete: `Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)'
   
   
      8) Assets/Pro Standard Assets/Image Based/SSAOEffect.cs(106,38): error CS1061: Type `UnityEngine.Component' does not contain a definition for `aspect' and no extension method `aspect' of type `UnityEngine.Component' could be found (are you missing a using directive or an assembly reference?)
   
   
       
   

[/quote]
 
 

Vos mismo te respondiste, porque este proyecto es para la version 4, la api va cambiando segun avances de versiones por lo cual el codigo va cambiando.
Si no sabes programación te recomiendo que te quedes en la v4, aunque se puede arreglar mediante el upgrate de unity que hace la conversion de estos cambios fácilmente , para otros casos se necesita un poco de conocimiento.

Etiquetas: