纳金网

标题: 导入bootcamp案例出错 [打印本页]

作者: may    时间: 2013-5-31 04:19
标题: 导入bootcamp案例出错
将示例文件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.




欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5