예제 #1
0
 public static void Rotate(this Transform @this, Angle xAngle, Angle yAngle, Angle zAngle, Space relativeTo = Space.Self) =>
 @this.Rotate((float)xAngle.ToDegrees(), (float)yAngle.ToDegrees(), (float)zAngle.ToDegrees(), relativeTo);
예제 #2
0
 public static void Rotate(this Transform @this, Vector3 axis, Angle angle, Space relativeTo = Space.Self) =>
 @this.Rotate(axis, (float)angle.ToDegrees(), relativeTo);