Class MARSEditorGUI | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class MARSEditorGUI

    Custom editor styles used in the MARS Editor

    Inheritance
    Object
    MARSEditorGUI
    Namespace: Unity.MARS
    Syntax
    public static class MARSEditorGUI

    Fields

    IndentSize

    Declaration
    public const float IndentSize = 15F
    Field Value
    Type Description
    Single

    MaxWindowSize

    Value to use for Max window size that is larger than can be reasonably used but does not lock the window resizing functionality.

    Declaration
    public const float MaxWindowSize = 1000000F
    Field Value
    Type Description
    Single

    SettingsLabelWidth

    Declaration
    public const float SettingsLabelWidth = 215F
    Field Value
    Type Description
    Single

    Properties

    InternalEditorStyles

    Editor GUI Styles from Unity's managed gui.

    Declaration
    public static MARSEditorGUI.InternalEditorStylesSettings InternalEditorStyles { get; }
    Property Value
    Type Description
    MARSEditorGUI.InternalEditorStylesSettings

    Styles

    Editor GUI Styles and resources for the MARS Editor.

    Declaration
    public static MARSEditorGUI.MARSStyles Styles { get; }
    Property Value
    Type Description
    MARSEditorGUI.MARSStyles

    Methods

    ButtonSpacer()

    Declaration
    public static void ButtonSpacer()

    DrawReloadButton(GUIContent, GUIStyle, GUILayoutOption[])

    Declaration
    public static void DrawReloadButton(GUIContent content, GUIStyle style, params GUILayoutOption[] options)
    Parameters
    Type Name Description
    GUIContent content
    GUIStyle style
    GUILayoutOption[] options

    GetDropDownButtonRect(GUIContent, GUIStyle, Single)

    Declaration
    public static Rect GetDropDownButtonRect(GUIContent content, GUIStyle style, float height)
    Parameters
    Type Name Description
    GUIContent content
    GUIStyle style
    Single height
    Returns
    Type Description
    Rect
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023