Table of Contents

Class EditorOnlyAttribute

Attach this to a UnityEngine.MonoBehaviour based class to mark it as editor only.

[AttributeUsage(AttributeTargets.Class)]
public class EditorOnlyAttribute : Attribute
Inheritance
EditorOnlyAttribute
Inherited Members
Extension Methods

Remarks

Any instances of the component will be removed when building the project.

Constructors

EditorOnlyAttribute()

public EditorOnlyAttribute()