PhysicsLayerAttribute Class

Definition

Attribute used to make an Int32 field render a dropdown generated from the current layers defined in the Tag Manager.

public ref class PhysicsLayerAttribute sealed : UnityEngine::PropertyAttribute
[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.PropertyAttribute
PhysicsLayerAttribute
Attributes

Constructors

PhysicsLayerAttribute()

Applies to