组件的激活和隐藏: 使用渲染器(Renderer)中的enable属性: public class Demo4 : MonoBehaviour {public class 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交