PhysicsWorld.RenderingMode
Controls drawing and rendering is allowed. NOTE: Drawing and rendering are always available in the Unity Editor however rendering requires compute buffer support on any device it is used without which no rendering will occur.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsWorld.RenderingMode
Fields
Value | Description |
|---|---|
| AnyPlayer | Drawing and rendering is available in the Editor and any player build. |
| DevelopmentPlayer | Drawing and rendering is available in both the Editor and a Development player build. |
| EditorOnly | Drawing and rendering is only available in the Editor and not in a player build. |