refactor(ui): 移除 InfoPanel 的 I 键变量栏切换
删除 Update 中通过 I 键切换 variableBar 显隐的调试代码, 避免与现有输入冲突并保持面板职责单一。
This commit is contained in:
@@ -19,14 +19,6 @@ namespace AibisDream.UI
|
||||
demoTimer.totalTimeInSeconds = time;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.I))
|
||||
{
|
||||
variableBar.gameObject.SetActive(!variableBar.gameObject.activeSelf);
|
||||
}
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
|
||||
Reference in New Issue
Block a user