PhysicsLayerAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute used to make an int field render a dropdown generated from the current layers defined in the Unity tag manager.
[System.AttributeUsage(System.AttributeTargets.Field)]
public sealed class PhysicsLayerAttribute : UnityEngine.PropertyAttribute
[<System.AttributeUsage(System.AttributeTargets.Field)>]
type PhysicsLayerAttribute = class
inherit PropertyAttribute
Public NotInheritable Class PhysicsLayerAttribute
Inherits PropertyAttribute
- Inheritance
-
UnityEngine.PropertyAttributePhysicsLayerAttribute
- Attributes
Constructors
| Name | Description |
|---|---|
| PhysicsLayerAttribute() |
Initializes a new instance of the PhysicsLayerAttribute class. |