Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

ShowAsPhysicsMaskAttribute

class in UnityEngine.LowLevelPhysics2D

/

Inherits from:PropertyAttribute

/

Implemented in:UnityEngine.Physics2DModule

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

When applied to a field/property of type PhysicsMask, the field/property drawer will not be display it as PhysicsLayers. Instead, the field/property will be displayed as bit numbers only i.e. a raw 64-bit mask allowing each bit to be (de)selected. This is only used when full layer editing is active (see PhysicsLowLevelSettings2D.useFullLayers).

Inherited Members

Properties

PropertyDescription
applyToCollectionMakes attribute affect collections instead of their items.
orderOptional field to specify the order that multiple DecorationDrawers should be drawn in.