Click or drag to resize

RigidBody2DSetCanSleep Method

Note: This API is now obsolete.

[Missing <summary> documentation for "M:Godot.RigidBody2D.SetCanSleep(System.Boolean)"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetCanSleep is deprecated. Use the CanSleep property instead.")]
public void SetCanSleep(
	bool ableToSleep
)

Parameters

ableToSleep
Type: SystemBoolean

[Missing <param name="ableToSleep"/> documentation for "M:Godot.RigidBody2D.SetCanSleep(System.Boolean)"]

See Also