unity 给物体角度赋值
摘要:
transform.localPosition和transform.localScale都是直接赋值三元数,给旋转赋值需要用 方法一: xxx.transform.localEulerAngles = new Vector3 (0.0f,0.0f,0.0f); 方法二: xxx.transform. 阅读全文
posted @ 2020-08-31 14:37 zqiang0803 阅读(1245) 评论(0) 推荐(1) 编辑