Unity3D换材质与图片.pdfVIP

  • 21
  • 0
  • 约小于1千字
  • 约 1页
  • 2021-12-01 发布于江苏
  • 举报
Unity3D脚本代码按键自动换材质 function Update () { if(Input.GetKey(KeyCode.Alpha1)){ Debug.Log(111); 在材质库中加载材质 this.renderer.material = Resources.Load(2); } if(Input.GetKey(KeyCode.Alpha2)){ Debug.Log(333); 在材质库中加载材质 this.r

文档评论(0)

1亿VIP精品文档

相关文档