Rigidbody2DSynchronizableSetRotation Method
Sets the rotation of the Rigidbody2D to angle (given in degrees).
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
public void SetRotation(
float angle
)
Parameters
- angle Single
- The rotation of the Rigidbody (in degrees).