Unity 3D | 报错:UnassignedReferenceException: The variable “***” of “***” has not been assigned.
简介最近开始学习unity3D建模,在Unity3D脚本应用实例演示(三个实例)上学习了一个案例设计,C#程序如下:usingUnityEngine;usingSystem.Collections;publicclassMyScript:MonoBehaviour{//声明4个变量publicGameObjectmyCube;publicinttransSpeed=100;publicfloatr