docs.unity3d.com
    显示 / 隐藏目录

    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
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)