mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 00:47:36 +02:00
use tab manager to control flow
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user