changed to use attribute to add items to the content context menu, this also allows users to add their own items to the CM
This commit is contained in:
@@ -10,6 +10,7 @@ namespace FlaxEditor.Content
|
||||
/// Content proxy for <see cref="SceneItem"/>.
|
||||
/// </summary>
|
||||
/// <seealso cref="FlaxEditor.Content.JsonAssetBaseProxy" />
|
||||
[ContentContextMenu("New/Scene")]
|
||||
public sealed class SceneProxy : JsonAssetBaseProxy
|
||||
{
|
||||
/// <summary>
|
||||
@@ -19,9 +20,6 @@ namespace FlaxEditor.Content
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string Name => "Scene";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string CategoryName => "Scene";
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string FileExtension => Extension;
|
||||
|
||||
Reference in New Issue
Block a user