Unity3D代码旋转

subGameObject.transform.Rotate (0,90,90,Space.Self);

一行代码

原文地址:https://www.cnblogs.com/newcaoguo/p/6131919.html