C# Class UnityEditor.DockArea

Inheritance: HostView, IDropArea
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Private Properties

Свойство Type Description
AddTabToHere void
CheckDragWindowExists void
Close void
DragTab void
GetTabAtMousePos int
GetTabWidth float
Initialize void
KillIfEmpty void
Maximize void
RemoveNullWindows void
ResetDragVars void

Méthodes publiques

Méthode Description
AddTab ( EditorWindow pane ) : void
AddTab ( int idx, EditorWindow pane ) : void
BeginOffsetArea ( Rect screenRect, GUIContent content, GUIStyle style ) : void
DockArea ( ) : System
DragOver ( EditorWindow window, Vector2 mouseScreenPosition ) : DropInfo
EndOffsetArea ( ) : void
OnDestroy ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
PerformDrop ( EditorWindow w, DropInfo info, Vector2 screenPos ) : bool
RemoveTab ( EditorWindow pane ) : void
RemoveTab ( EditorWindow pane, bool killIfEmpty ) : void

Méthodes protégées

Méthode Description
AddDefaultItemsToMenu ( GenericMenu menu, EditorWindow view ) : void
GetBorderSize ( ) : RectOffset

Private Methods

Méthode Description
AddTabToHere ( object userData ) : void
CheckDragWindowExists ( ) : void
Close ( object userData ) : void
DragTab ( Rect pos, GUIStyle tabStyle ) : void
GetTabAtMousePos ( Vector2 mousePos, Rect position ) : int
GetTabWidth ( float width ) : float
Initialize ( ContainerWindow win ) : void
KillIfEmpty ( ) : void
Maximize ( object userData ) : void
RemoveNullWindows ( ) : void
ResetDragVars ( ) : void

Method Details

AddDefaultItemsToMenu() protected méthode

protected AddDefaultItemsToMenu ( GenericMenu menu, EditorWindow view ) : void
menu GenericMenu
view EditorWindow
Résultat void

AddTab() public méthode

public AddTab ( EditorWindow pane ) : void
pane EditorWindow
Résultat void

AddTab() public méthode

public AddTab ( int idx, EditorWindow pane ) : void
idx int
pane EditorWindow
Résultat void

BeginOffsetArea() public static méthode

public static BeginOffsetArea ( Rect screenRect, GUIContent content, GUIStyle style ) : void
screenRect UnityEngine.Rect
content UnityEngine.GUIContent
style UnityEngine.GUIStyle
Résultat void

DockArea() public méthode

public DockArea ( ) : System
Résultat System

DragOver() public méthode

public DragOver ( EditorWindow window, Vector2 mouseScreenPosition ) : DropInfo
window EditorWindow
mouseScreenPosition Vector2
Résultat DropInfo

EndOffsetArea() public static méthode

public static EndOffsetArea ( ) : void
Résultat void

GetBorderSize() protected méthode

protected GetBorderSize ( ) : RectOffset
Résultat UnityEngine.RectOffset

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

PerformDrop() public méthode

public PerformDrop ( EditorWindow w, DropInfo info, Vector2 screenPos ) : bool
w EditorWindow
info DropInfo
screenPos Vector2
Résultat bool

RemoveTab() public méthode

public RemoveTab ( EditorWindow pane ) : void
pane EditorWindow
Résultat void

RemoveTab() public méthode

public RemoveTab ( EditorWindow pane, bool killIfEmpty ) : void
pane EditorWindow
killIfEmpty bool
Résultat void