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 Prefab
Declaration
public PrefabDiffContextMenu(float width = 280F, float height = 260F)
Parameters
System. The control width. |
System. The control height. |
Fields
Tree
The tree control where you should add your nodes.
Declaration
public readonly Tree Tree
Field Value
Flax
|
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
Keyboard
|
Returns
System.
|
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.
|
RevertAll
The event called to revert all the changes applied.
Declaration
public event Action RevertAll
Event Type
System.
|
Extension Methods
See Also
FlaxEditor.GUI.ContextMenu.ContextMenuBase