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

OverrideOptions

enumeration

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

Description

Selects which draw values the override replaces while it is enabled.

A value whose option is not set is left to each world. PhysicsDrawOverride.OverrideOptions.HideWithGizmos has no matching value: it hides all physics drawing in any Scene or Game view whose Gizmos button is off.

Properties

Property Description
None Nothing is overridden.
HideWithGizmos Hide physics drawing in a Scene or Game view whose Gizmos button is off. A world that opts out of the override keeps drawing, like every other override value.
DrawOptions Override PhysicsDrawOverride.Settings.drawOptions.
DrawFillOptions Override PhysicsDrawOverride.Settings.drawFillOptions.
DrawContactType Override PhysicsDrawOverride.Settings.drawContactType.
DrawFilter Override PhysicsDrawOverride.Settings.drawFilter.
DrawTarget Override PhysicsDrawOverride.Settings.drawTarget.
DrawThickness Override PhysicsDrawOverride.Settings.drawThickness.
DrawFillAlpha Override PhysicsDrawOverride.Settings.drawFillAlpha.
DrawPointScale Override PhysicsDrawOverride.Settings.drawPointScale.
DrawNormalScale Override PhysicsDrawOverride.Settings.drawNormalScale.
DrawForceScale Override PhysicsDrawOverride.Settings.drawForceScale.
DrawAtTransform Override PhysicsDrawOverride.Settings.drawAtTransform.
DrawColors Override PhysicsDrawOverride.Settings.drawColors.