Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

PhysicsDrawOverride.defaultSettings

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static Settings defaultSettings;

Description

The settings the override starts from: the current default world definition's draw values, with the draw options and hiding with gizmos selected.

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.