Unity3d中UnassignedReferenceException: The variable target of Moving has not been assigned. You proba

  在unity中出现

UnassignedReferenceException: The variable target of Moving has not been assigned.

You probably need to assign the target variable of the Moving script in the inspector.

Moving.Update () (at Assets/_Tutorial/Moving.cs:13)

Unity3d中UnassignedReferenceException: The variable target of Moving has not been assigned. You proba_第1张图片

发现如上图中 traget 为none  把物体拉到里面进行设置就可以了

你可能感兴趣的:(unity3d问题及解决,unity3d)