学员(7962)
课程(204)
分享
提供专属的一对一在线答疑,快速答疑解惑。
及时响应学习咨询,帮助解决问题。
购买后7天内可申请无理由退款。
购买后30天内如遇降价,可申请价保。
对于提问做到有问必答,帮您扫清学习过程中的种种障碍
使用application.datapath的时候报错
There are inconsistent line endings in the 'Assets/FrameWork/Editor/AudioWinEditor.cs' script. Some are Mac OS X (UNIX) and some are Windows.
这个怎么解决?
你这个是警告吧
可以解决,也可以选择忽略,不影响
解决方案:
http://www.jianshu.com/p/4a91194c3593
老师是我传错了,get_dataPath is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'DockArea'. See "Script Serialization" page in the Unity Manual for further details.
是这个问题
dataPath 的调用位置有问题,可以吧它的调用放在OnEnable中
好的,谢谢老师