기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


RigidbodySleepMode2D

Settings for a Rigidbody2D's initial sleep state.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public enum RigidbodySleepMode2D

Fields

Value

Description

NeverSleepRigidbody2D never automatically sleeps.
StartAsleepRigidbody2D is initially asleep.
StartAwakeRigidbody2D is initially awake.