Exemplo n.º 1
0
 /// <summary>
 /// Set body type.
 /// </summary>
 private void SetBodyType(BodyType2D bodyType)
 {
     Runtime.ValidateRefCounted(this);
     RigidBody2D_SetBodyType(handle, bodyType);
 }
Exemplo n.º 2
0
 internal static extern void RigidBody2D_SetBodyType(IntPtr handle, BodyType2D bodyType);