- 最后登录
- 2019-12-25
- 注册时间
- 2012-8-24
- 阅读权限
- 90
- 积分
- 71088
- 纳金币
- 52336
- 精华
- 343
|
将示例文件bootcamp导入
提示很多错误如下:
UnassignedReferenceException: The variable targetTransform of 'HeadLookController' has not been assigned.
You probably need to assign the targetTransform variable of the HeadLookController script in the inspector.
UnityEngine.Transform.get_position () (at C:/BuildAgent/work/a0f11f3559d72c6d/Runtime/ExportGenerated/Editor/UnityEngineTransform.cs:19)
HeadLookController.LateUpdate () (at Assets/Scripts/soldier/HeadLookController.js:79)
UnassignedReferenceException: The variable aimTarget of 'SoldierAnimations' has not been assigned.
You probably need to assign the aimTarget variable of the SoldierAnimations script in the inspector.
UnityEngine.Transform.get_position () (at C:/BuildAgent/work/a0f11f3559d72c6d/Runtime/ExportGenerated/Editor/UnityEngineTransform.cs:19)
SoldierAnimations.Update () (at Assets/Scripts/soldier/SoldierAnimations.js:111)
NullReferenceException: Object reference not set to an instance of an object
GunManager.Update () (at Assets/Scripts/weapons/GunManager.js:40)
There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene. |
|