Vec3InputField 2
e 按·(esc下面那个)暂时关闭UI
This commit is contained in:
@@ -63,13 +63,13 @@ namespace Ichni.Editor
|
||||
|
||||
for (int i = 1; i <= this.tabLayer; i++)
|
||||
{
|
||||
float lineX = 30 * i;
|
||||
float lineX = 30 * i;
|
||||
Instantiate(indentationLinePrefab, tabRect).GetComponent<RectTransform>().anchoredPosition = new Vector2(lineX, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
float posX = -5 + 30 * tabLayer;
|
||||
float posX = -25 +( 30 * tabLayer);
|
||||
tabMainRect.anchoredPosition = new Vector2(posX, tabMainRect.anchoredPosition.y);
|
||||
|
||||
tabButton.onClick.AddListener(SelectGameElement);
|
||||
@@ -125,9 +125,9 @@ namespace Ichni.Editor
|
||||
{
|
||||
if (!expand && isExpanded)
|
||||
{
|
||||
foreach (var tab in childTabList)
|
||||
for(int i=childTabList.Count;i>0;i--)
|
||||
{
|
||||
tab.SetExpansion(expand); //false
|
||||
childTabList[i-1].SetExpansion(expand); //false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user