暂时存档

Timeline
WindowAnim不止window能用
This commit is contained in:
2025-02-21 15:30:14 +08:00
parent cd9ef00d13
commit 6781de4d53
14 changed files with 642 additions and 85 deletions

View File

@@ -47,6 +47,13 @@ namespace Ichni.Editor
}catch(Exception e){Debug.LogWarning("WTF Command! "+e);}
}
private void Update(){
UIscale();
if(InputCommand.isFocused)InputDect();
}
private void UIscale(){
if(Keyboard.current.backquoteKey.wasPressedThisFrame){
ConsoleUI.SetActive(isHide);
@@ -65,8 +72,10 @@ namespace Ichni.Editor
}
}
if(InputCommand.isFocused){
if(Keyboard.current.downArrowKey.wasPressedThisFrame){
}
private void InputDect(){
if(Keyboard.current.downArrowKey.wasPressedThisFrame){
if(historyCommand.Count-1>historycount){
historycount++;
InputCommand.text=historyCommand[historycount];}
@@ -80,12 +89,8 @@ namespace Ichni.Editor
historycount--;
InputCommand.text=historyCommand[historycount];
}
}
}
private void Start()
{