mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 00:47:36 +02:00
property menu population functional
This commit is contained in:
@ -15,10 +15,20 @@ namespace HeavenStudio.Editor
|
||||
{
|
||||
if (activeContent != null)
|
||||
{
|
||||
activeContent.GetComponent<TabsContent>().OnCloseTab();
|
||||
activeContent.SetActive(false);
|
||||
}
|
||||
activeContent = content;
|
||||
activeContent.SetActive(true);
|
||||
activeContent.GetComponent<TabsContent>().OnOpenTab();
|
||||
}
|
||||
|
||||
public void CloseContent()
|
||||
{
|
||||
if (activeContent != null)
|
||||
{
|
||||
activeContent.GetComponent<TabsContent>().OnCloseTab();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user