unity 的active new license在什么位置

如题所述

第1个回答  2015-12-28
错误的意思是activeSelf 不能被赋值,你是想隐藏xy这个gameobject吧,试试这样写:把xy.activeSelf = false 换成xy.setactivity(false);本回答被提问者采纳