Skip to content

Commit 1759bbb

Browse files
committed
added #if ENABLE_LEGACY_INPUT_MANAGER inside UIPanel.Update()
1 parent 0e57bee commit 1759bbb

File tree

1 file changed

+2
-0
lines changed
  • Packages/Sequence-Unity/Sequence/SequenceFrontend/Scripts/UI

1 file changed

+2
-0
lines changed

Packages/Sequence-Unity/Sequence/SequenceFrontend/Scripts/UI/UIPanel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ protected override void Awake()
3232
_panel = this;
3333
}
3434

35+
#if ENABLE_LEGACY_INPUT_MANAGER
3536
private void Update()
3637
{
3738
if (Input.GetKeyDown(KeyCode.Escape))
3839
{
3940
GoBack();
4041
}
4142
}
43+
#endif
4244

4345
public override void Open(params object[] args)
4446
{

0 commit comments

Comments
 (0)