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