Documentation

Unity Engine

Download Unity

Unity Engine

defaultSettings

The settings the override starts from: the current default world definition's draw values, with the draw options and hiding with gizmos selected.
Read time 1 minuteLast updated 4 hours ago

Definition

public static PhysicsDrawOverride.Settings defaultSettings { get; }

Remarks

The default world definition comes from the assigned settings asset, or from the engine defaults when the project has none. Assign this to PhysicsDrawOverride.settings to reset the override.