当前位置:   article > 正文

Unity5.3 转Unity 2018.4.17 WEBGL_unity assets\standard assets\utility\simpleactivat

unity assets\standard assets\utility\simpleactivatormenu.cs(10,16): error cs

1、UnityStandardAssets.Characters.ThirdPerson中的脚本AICharacterControl中NavMeshAgent的错误
解决方法:增加using UnityEngine.AI;引用。
2、UnityStandardAssets.Cameras中的脚本TargetFieldOfView中ParticleRenderer错误
解决方法:注释掉

 //if (!((r is TrailRenderer) || (r is ParticleRenderer) || (r is ParticleSystemRenderer)))
 if (!((r is TrailRenderer) || (r is ParticleSystemRenderer)))
  • 1
  • 2

3、NewTemp.shader
#pragma target 5.0改为#pragma target 3.0
4、AutoScan预制体中的字体
倒计时的数字用Arial;汉字用SIMHEI 7000.
5、树加载失败
解决方法:增加相关shader
Nature/SpeedTree
Nature/SpeedTree Billboard
6、Chart插件线宽Width由0.3改为1
\Assets\AssetMonitor\Scripts\Chart\Prefabs_Link_Dotted.prefeb
7、FtpUpload所有引用
8、摄像机中Blur

--------------------------------------2019.4.5----------------------
1、Assets\Standard Assets\Utility\ForcedReset.cs(6,27): error CS0619: ‘GUITexture’ is obsolete: ‘GUITexture has been removed. Use UI.Image instead.’
2、Assets\Standard Assets\Utility\SimpleActivatorMenu.cs(10,16): error CS0619: ‘GUIText’ is obsolete: ‘GUIText has been removed. Use UI.Text instead.’
3、Assets\Standard Assets\Utility\FPSCounter.cs(6,31): error CS0619: ‘GUIText’ is obsolete: ‘GUIText has been removed. Use UI.Text instead.’

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/83247
推荐阅读
相关标签
  

闽ICP备14008679号