暂时存档
Timeline WindowAnim不止window能用
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Ichni.Editor
|
||||
parentElement.connectedTab.childTabList.Add(this);
|
||||
this.tabLayer = this.parentTab.tabLayer + 1;
|
||||
this.transform.SetSiblingIndex(this.parentTab.transform.GetSiblingIndex() + GetAllChildrenCount(this.parentTab));
|
||||
|
||||
|
||||
if (!this.parentTab.isExpanded)
|
||||
{
|
||||
this.isExpanded = false;
|
||||
@@ -91,6 +91,7 @@ namespace Ichni.Editor
|
||||
{
|
||||
EditorManager.instance.operationManager.SelectElement(connectedGameElement);
|
||||
EditorManager.instance.uiManager.inspector.SetInspector(connectedGameElement);
|
||||
EditorManager.instance.timeline.SetTimeLine(connectedGameElement);
|
||||
}
|
||||
|
||||
private void ExpandOrFold()
|
||||
@@ -101,7 +102,7 @@ namespace Ichni.Editor
|
||||
if (isExpanded)
|
||||
{
|
||||
expandButton.transform.Rotate(new Vector3(0, 0, 180));
|
||||
|
||||
|
||||
for (var index = 0; index < connectedGameElement.childElementList.Count; index++)
|
||||
{
|
||||
var childElement = connectedGameElement.childElementList[index];
|
||||
@@ -123,9 +124,9 @@ namespace Ichni.Editor
|
||||
{
|
||||
if (!expand && isExpanded)
|
||||
{
|
||||
for(int i=childTabList.Count;i>0;i--)
|
||||
for (int i = childTabList.Count; i > 0; i--)
|
||||
{
|
||||
childTabList[i-1].SetExpansion(expand); //false
|
||||
childTabList[i - 1].SetExpansion(expand); //false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user