docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Preferences
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)