Class PrefabDiffContextMenu
The custom context menu that shows a tree of prefab diff items.
Inheritance
System.Object
FlaxEditor.GUI.ContextMenu.ContextMenuBase
PrefabDiffContextMenu
Implements
System.IComparable
Namespace: FlaxEditor.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public class PrefabDiffContextMenu : ContextMenuBase, IComparable, IDrawable
Constructors
PrefabDiffContextMenu(Single, Single)
Initializes a new instance of the PrefabDiffContextMenu class.
Declaration
public PrefabDiffContextMenu(float width = 280F, float height = 260F)
Parameters
System.Single
width
The control width. |
System.Single
height
The control height. |
Fields
Tree
The tree control where you should add your nodes.
Declaration
public readonly Tree Tree
Field Value
FlaxEditor.GUI.Tree.Tree
|
Methods
Hide()
Declaration
public override void Hide()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.Hide()
OnDestroy()
Declaration
public override void OnDestroy()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnDestroy()
OnKeyDown(KeyboardKeys)
Declaration
public override bool OnKeyDown(KeyboardKeys key)
Parameters
KeyboardKeys
key
|
Returns
System.Boolean
|
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnKeyDown(FlaxEngine.KeyboardKeys)
OnShow()
Declaration
protected override void OnShow()
Overrides
FlaxEditor.GUI.ContextMenu.ContextMenuBase.OnShow()
Events
ApplyAll
The event called to apply all the changes.
Declaration
public event Action ApplyAll
Event Type
System.Action
|
RevertAll
The event called to revert all the changes applied.
Declaration
public event Action RevertAll
Event Type
System.Action
|
Extension Methods
See Also
FlaxEditor.GUI.ContextMenu.ContextMenuBase