标签:tran orm csdn scale cal 旋转 http log xxx
转自:https://blog.csdn.net/u013720726/article/details/72852525
transform.localPosition和transform.localScale都是直接赋值三元数,给旋转赋值需要用
方法一:
xxx.transform.localEulerAngles = new Vector3 (0.0f,0.0f,0.0f);
方法二:
xxx.transform.rotation=Quaternion.Euler(0.0f,0.0f,0.0f);
标签:tran orm csdn scale cal 旋转 http log xxx
原文地址:https://www.cnblogs.com/lichuangblog/p/9452812.html