202104-27 Unity之绕轴进行旋转的操作 先上一张效果图usingUnityEngine;usingSystem.Collections;publicclassTestRotateRound:MonoBehaviour{publicGameObjectSphere;privatefloatcurtTime=0.0f;voidUpdate(){//使用C#封装好的代码RotateAroundgameObject.transform.RotateAround(Sphere.transform.position,Sphere.transform.up,72*Time.deltaTime);//自己封装代码,功能和上面的相同//RotateAround(... 继续阅读 >