PhysicsMask.ShowAsPhysicsMaskAttribute
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 ).
Read time 3 minutesLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
- Inherits from: PropertyAttribute
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true, AllowMultiple = false)]public class PhysicsMask.ShowAsPhysicsMaskAttribute : PropertyAttribute