使用道具 举报
巨蟹座 发表于 2020-7-27 18:58 gameObject.GetComponent().material.color = Color.red;
CSTG 发表于 2020-7-28 14:51 应该是gameObject.GetComponent.().material.color = Color.red;吧,改了之后虽然没有error了,但运行时 ...
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )
GMT+8, 2025-2-22 19:01 , Processed in 0.105727 second(s), 30 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.