docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.MARS.Attributes

    Classes

    ComponentEditorAttribute

    Tells the component editor which run-time type the editor is for.

    ComponentMenuAttribute

    Used to define the menu item and the type of component it will add.

    ComponentTooltipAttribute

    Used to define the tooltip of a MARS Component.

    DecoratorAttribute

    Used for Drawing custom decorator property drawers.

    DisplayNameAttribute

    Attribute used to set a custom display name in a property decorator.

    EventAttribute

    Used to decorate event fields for advanced inspectors

    ExcludeInMARSEditor

    Attribute marks a class that will not be included in the MARS Entity in the inspector and not included in the Add MARS Component menu

    MaxAttribute

    Attribute used to clamp a float or in variable to a max value in a property decorator.

    MinAttribute

    Attribute used to clamp a float or in variable to a min value in a property decorator.

    MinMaxAttribute

    Attribute used to clamp a float or in variable between a min and max value in a property decorator.

    MonoBehaviourComponentMenuAttribute

    Used to define the menu item and they type of MonoBehaviour component it will add.

    OptionalConstraintAttribute

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)