Rigidbody2DSynchronizableSetRotation Method
Sets the rotation of the Rigidbody2D to angle (given in degrees).
Namespace: Alteruna.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
public void SetRotation(
float angle
)
Parameters
- angle Single
- The rotation of the Rigidbody (in degrees).