unity 对 rotation、 localPosition、 localScale 进行修改
rotation:
1、xxx.transform.localEulerAngles = new Vector3 (0.0f,0.0f,0.0f);
2、xxx.transform.rotation=Quaternion.Euler(0.0f,0.0f,0.0f);
localPosition:
xxx.transform.localPosition = new Vector3 (0.0f,0.0f,0.0f);
localScale:
xxx.transform.localScale = new Vector3 (1,1,1);