1.Null Reference Exception: Object reference not set to an instance of an object
空指针(引用)异常,
2.Unassigned Reference Exception: The variable cube of lesson03 has not been assigned.
You probably need to assign the cube variable of the lesson03 script in the inspector.
未赋值指针异常
3.UnityException: Tag: 小猪佩奇 is not defined.
4.ArgumentException: The Object you want to instantiate is null.
参数异常,参数为空
5.You are trying to create a MonoBehaviour using the 'new' keyword.
This is not allowed. MonoBehaviours can only be added using AddComponent().
MonoBehaviour脚本不能New
6.Cant add Script Exception...
脚本的组件名和类名不一致
7.MissingComponentException: There is no 'Rigidbody' attached to the
丢失组件异常,Rigidbody没有被添加
空指针(引用)异常,
2.Unassigned Reference Exception: The variable cube of lesson03 has not been assigned.
You probably need to assign the cube variable of the lesson03 script in the inspector.
未赋值指针异常
3.UnityException: Tag: 小猪佩奇 is not defined.
4.ArgumentException: The Object you want to instantiate is null.
参数异常,参数为空
5.You are trying to create a MonoBehaviour using the 'new' keyword.
This is not allowed. MonoBehaviours can only be added using AddComponent().
MonoBehaviour脚本不能New
6.Cant add Script Exception...
脚本的组件名和类名不一致
7.MissingComponentException: There is no 'Rigidbody' attached to the
丢失组件异常,Rigidbody没有被添加