Class Preferences
Provides editor-only helpers for Unity Physics project settings by managing scripting define symbols across relevant build target groups. Exposes two toggles via static properties: IntegrityChecksDisabled and DebugDisplayRuntimeEnabled.
Inherited Members
Namespace: Unity.Physics.Editor.ProjectSettings
Assembly: Unity.Physics.Editor.ProjectSettingsBridge.dll
Syntax
public static class Preferences
Properties
DebugDisplayRuntimeEnabled
DebugDisplayRuntimeEnabled
Declaration
public static bool DebugDisplayRuntimeEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IntegrityChecksDisabled
Controls whether integrity checks are disabled. Disable integrity checks when measuring performance. Enable them when validating simulation quality and behaviour.
Declaration
public static bool IntegrityChecksDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |