ドキュメント

Unity Engine

Unity Engine

Rotate(float)

Calculate a new rotation of the current rotation by the specified angle.
読み終わるまでの所要時間 1 分最終更新 9日前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly PhysicsRotate Rotate(float deltaAngle)

Parameters

deltaAngle

The change in angle, in radians.

Returns

Type

Description

PhysicsRotateThe rotation after rotating by deltaAngle.