Refactor ISceneContextWindow into ISceneEditingContext with more utilities

#3257
This commit is contained in:
Wojtek Figat
2025-03-03 23:32:27 +01:00
parent e82bb639ed
commit 819ce2222d
10 changed files with 91 additions and 30 deletions

View File

@@ -168,7 +168,14 @@ namespace FlaxEditor.SceneGraph
/// <summary>
/// Gets the list of selected scene graph nodes in the editor context.
/// [Deprecated in v1.10]
/// </summary>
public abstract List<SceneGraphNode> Selection { get; }
[Obsolete("Use SceneContext.Selection instead.")]
public List<SceneGraphNode> Selection => SceneContext.Selection;
/// <summary>
/// Gets the list of selected scene graph nodes in the editor context.
/// </summary>
public abstract ISceneEditingContext SceneContext { get; }
}
}