添加Vec3InputField和其预制件
代码要改,还没写好,而且我不知道为什么在inputField那里的方法不管用,transform的GetFields()都是空的
This commit is contained in:
@@ -25,7 +25,9 @@ namespace Ichni.Editor
|
||||
private int historycount=0;
|
||||
public GameObject ConsoleUI;
|
||||
|
||||
|
||||
public Hierarchy hierarchy;
|
||||
public Inspector inspector;
|
||||
bool isHide=false;
|
||||
|
||||
public void GetChange(string change){
|
||||
|
||||
@@ -42,6 +44,11 @@ namespace Ichni.Editor
|
||||
}catch(Exception e){Debug.LogWarning("WTF Command! "+e);}
|
||||
}
|
||||
private void Update(){
|
||||
if(Input.GetKeyDown(KeyCode.BackQuote)){
|
||||
hierarchy.gameObject.SetActive(isHide);
|
||||
inspector.gameObject.SetActive(isHide);
|
||||
isHide=!isHide;
|
||||
}
|
||||
if(InputCommand.isFocused){
|
||||
if(Input.GetKeyDown(KeyCode.DownArrow)){
|
||||
if(historyCommand.Count-1>historycount){
|
||||
|
||||
Reference in New Issue
Block a user