小改动
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Ichni.Editor
|
||||
ConsoleUI.SetActive(isHide);
|
||||
|
||||
isHide = !isHide;
|
||||
if (isHide) StartCoroutine(WindowAnim.ShowPanel(InputCommand.gameObject));
|
||||
if (!isHide) StartCoroutine(WindowAnim.ShowPanel(InputCommand.gameObject));
|
||||
}
|
||||
if (Keyboard.current.leftCtrlKey.isPressed && Keyboard.current.upArrowKey.wasPressedThisFrame)
|
||||
{
|
||||
@@ -163,7 +163,7 @@ namespace Ichni.Editor
|
||||
functionInterpreter = new Interpreter();
|
||||
functionInterpreter.SetFunction("test", (Action)Test);
|
||||
|
||||
functionInterpreter.SetFunction("Kill", (Action)Kill);
|
||||
functionInterpreter.SetFunction("kill", (Action)Kill);
|
||||
functionInterpreter.SetFunction("lgp", (Action<int, float, float, float, float, float, float>)LGenPathNodes);
|
||||
functionInterpreter.SetFunction("print", (Action<object>)print);
|
||||
functionInterpreter.SetFunction("log", (Action<object>)Debug.Log);
|
||||
@@ -181,7 +181,10 @@ namespace Ichni.Editor
|
||||
}
|
||||
for (int i = inspector.connectedGameElement.childElementList.Count - 1; i <= 0; i--)
|
||||
{
|
||||
inspector.connectedGameElement.childElementList[i].Delete();
|
||||
EditorManager.instance.operationManager.CopyPasteDeleteModule.DeleteElement(
|
||||
inspector.connectedGameElement.childElementList[i]
|
||||
);
|
||||
inspector.connectedGameElement.childElementList.RemoveAt(i);
|
||||
}
|
||||
}
|
||||
private void Test()
|
||||
|
||||
Reference in New Issue
Block a user