[UseDefaultEditor]

Attribute uses the default Unity editor instead of the Apex editor.

Support Types

Type
Description

Class

Supported class type

Field

Supported field type

Examples

[UseDefaultEditor]
public class MyComponent : MonoBehaviour
{
    // This component will use the default Unity Inspector
    // even if Apex is enabled for the project.
}

public class AnotherComponent : MonoBehaviour
{
    [UseDefaultEditor]
    public SomeClass myField;
}

Last updated