Enable back button and introduce behavior

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
This commit is contained in:
Danilo Aimini
2021-09-21 15:01:16 -07:00
parent 8ab409e4d2
commit 59d7cd6058
4 changed files with 29 additions and 4 deletions
@@ -127,6 +127,11 @@ namespace AzToolsFramework::Prefab
return m_instanceFocusPath;
}
const int PrefabFocusHandler::GetPrefabFocusPathLength()
{
return m_instanceFocusVector.size();
}
void PrefabFocusHandler::OnEntityStreamLoadSuccess()
{
// Focus on the root prefab (AZ::EntityId() will default to it)