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