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

    Class ScenePlacementPanel

    Inheritance
    Object
    Object
    ScriptableObject
    PanelView
    ScenePlacementPanel
    Inherited Members
    PanelView.EditorWindow
    PanelView.PanelWindow
    PanelView.PanelPopoutCanScroll
    PanelView.ScrollingHorizontal
    PanelView.ScrollingVertical
    PanelView.HelpButtonAction
    PanelView.SettingsButtonFunc
    PanelView.RecordFoldoutAnalyticsEvent
    PanelView.OnDisable()
    PanelView.AddItemsToTabMenu(GenericMenu)
    PanelView.MenuItems()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.MARS
    Syntax
    [PanelOrder(1073741973)]
    public class ScenePlacementPanel : PanelView

    Properties

    AutoRepaintOnSceneChange

    Should the panel cause the tear off window to auto repaint on scene change

    Declaration
    public override bool AutoRepaintOnSceneChange { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    PanelView.AutoRepaintOnSceneChange

    DrawAsWindow

    Is the panel being drawn in a tear off window.

    Declaration
    public override bool DrawAsWindow { get; set; }
    Property Value
    Type Description
    Boolean
    Overrides
    PanelView.DrawAsWindow

    MaxSize

    Maximum sized of the panel

    Declaration
    public override Vector2 MaxSize { get; }
    Property Value
    Type Description
    Vector2
    Overrides
    PanelView.MaxSize

    MinSize

    Minimum size of the panel

    Declaration
    public override Vector2 MinSize { get; }
    Property Value
    Type Description
    Vector2
    Overrides
    PanelView.MinSize

    PanelExpanded

    Is the panel currently expanded under the header.

    Declaration
    public override bool PanelExpanded { get; set; }
    Property Value
    Type Description
    Boolean
    Overrides
    PanelView.PanelExpanded

    PanelLabel

    Name of the panel used in the header and for tear off window name.

    Declaration
    public override string PanelLabel { get; }
    Property Value
    Type Description
    String
    Overrides
    PanelView.PanelLabel

    PreferredSize

    Size of panel when opening as a window

    Declaration
    public override Vector2 PreferredSize { get; }
    Property Value
    Type Description
    Vector2
    Overrides
    PanelView.PreferredSize

    TabMenuFunc

    Callback for Tab panel view. Override with Null if you want not drawn.

    Declaration
    public override Func<GenericMenu> TabMenuFunc { get; }
    Property Value
    Type Description
    Func<GenericMenu>
    Overrides
    PanelView.TabMenuFunc

    UsePrefSize

    Should the panel use the preferred size when initially drawing as a window.

    Declaration
    public override bool UsePrefSize { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    PanelView.UsePrefSize

    Methods

    OnEnable()

    Declaration
    public override void OnEnable()
    Overrides
    PanelView.OnEnable()

    OnGUI()

    Draws the panel contents

    Declaration
    public override void OnGUI()
    Overrides
    PanelView.OnGUI()

    OnSelectionChanged()

    Callback for on selection change.

    Declaration
    public override void OnSelectionChanged()
    Overrides
    PanelView.OnSelectionChanged()

    Repaint()

    Calls repaint on the panel and the parent window(s).

    Declaration
    public override void Repaint()
    Overrides
    PanelView.Repaint()
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)