摘要: let sprite = node.getComponent(cc.Sprite); let material = cc.Material.getBuiltinMaterial('材质名'); sprite.setMaterial(0, material); 阅读全文
posted @ 2024-06-07 17:06 流星曳尾 阅读(4) 评论(0) 推荐(0) 编辑