Add Escape Feature

This commit is contained in:
copecone committed 2026-05-24 14:50:42 +09:00
1 parent 0b4a772933
commit fb97a85875
4 files changed
+224 -9

No files matched your search

+8
View File
@@ -36,6 +36,14 @@ namespace ADOFAIRenderer.UI
codecDropdown.AddOptions(options);
}
private void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
{
ADOBase.loader.LoadSceneWithTransition(WipeDirection.StartsFromRight, "scnEditor");
}
}
public void OnClick()
{
if (IsAnyFieldEmpty()) return;