use tab manager to control flow

This commit is contained in:
minenice55
2022-09-03 19:46:54 -04:00
parent 87a51dd302
commit 68c1802e87
4 changed files with 64 additions and 21 deletions

View File

@ -23,6 +23,14 @@ namespace HeavenStudio.Editor
activeContent.GetComponent<TabsContent>().OnOpenTab();
}
public void OpenContent()
{
if (activeContent != null)
{
activeContent.GetComponent<TabsContent>().OnOpenTab();
}
}
public void CloseContent()
{
if (activeContent != null)