unity从4.x升级到5.x后部分脚本的编译错误

将animation改成GetComponent.<Animation>()

解决Type 'UnityEngine.Component' does not support slicing

 

相关文章: