Add selecting and starting rename on actors spawned in the prefab window.

This commit is contained in:
Chandler Cox
2023-12-20 10:03:38 -06:00
parent 4e34524a08
commit 0d5d11e184

View File

@@ -386,6 +386,7 @@ namespace FlaxEditor.Windows.Assets
// Spawn it
Spawn(actor);
Rename();
}
/// <summary>
@@ -415,6 +416,7 @@ namespace FlaxEditor.Windows.Assets
// Create undo action
var action = new CustomDeleteActorsAction(new List<SceneGraphNode>(1) { actorNode }, true);
Undo.AddAction(action);
Select(actorNode);
}
private void OnTreeRightClick(TreeNode node, Float2 location)