暂时存档
Timeline WindowAnim不止window能用
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user