Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RigidbodySleepMode2D

Description

Settings for a Rigidbody2D's initial sleep state.

Variables

NeverSleep Rigidbody2D never automatically sleeps.
StartAwake Rigidbody2D is initially awake.
StartAsleep Rigidbody2D is initially asleep.