Add ContentItem.OnContextMenu
This commit is contained in:
@@ -505,6 +505,14 @@ namespace FlaxEditor.Content
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when context menu is being prepared to show. Can be used to add custom options.
|
||||
/// </summary>
|
||||
/// <param name="menu">The menu.</param>
|
||||
public virtual void OnContextMenu(FlaxEditor.GUI.ContextMenu.ContextMenu menu)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when item gets renamed or location gets changed (path modification).
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user