Add SceneGraphNode.OnContextMenu for customizations
This commit is contained in:
@@ -317,6 +317,13 @@ namespace FlaxEditor.SceneGraph
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when scene tree window wants to show the context menu. Allows to add custom options.
|
||||
/// </summary>
|
||||
public virtual void OnContextMenu(FlaxEditor.GUI.ContextMenu.ContextMenu contextMenu)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The scene graph node state container. Used for Editor undo actions (eg. restoring deleted node).
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user