docs.unity3d.com
    Show / Hide Table of Contents

    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.TabMenuFunc
    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

    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()
    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