EditorRequiredAttribute Class

Definition

Specifies that the component parameter is required to be provided by the user when authoring it in the editor.

If a value for this parameter is not provided, editors or build tools may provide warnings indicating the user to specify a value. This attribute is only valid on properties marked with ParameterAttribute.

[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class EditorRequiredAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type EditorRequiredAttribute = class
    inherit Attribute
Public NotInheritable Class EditorRequiredAttribute
Inherits Attribute
Inheritance
EditorRequiredAttribute
Attributes

Constructors

EditorRequiredAttribute()

Applies to