unity报错:NullReferenceException: Object reference not set to an instance of an object CreatObject.Start () (at Assets/CreatObject.cs:25)
unity报错:NullReferenceException: Object reference not set to an instance of an object
CreatObject.Start () (at Assets/CreatObject.cs:25)
脚本25行:transLight.GetComponent<Light>().color = Color.green;