property menu population functional

This commit is contained in:
minenice55
2022-09-03 19:10:27 -04:00
parent b84dc9a2de
commit 87a51dd302
4 changed files with 226 additions and 51 deletions

View File

@ -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();
}
}
}
}