Skip to content

Commit c869f17

Browse files
committed
BugReportUI: Fix references when ENABLE_INPUT_SYSTEM is turn on
1 parent e89a4b8 commit c869f17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Runtime/Scripts/BugReportUI.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ void OnEnable()
130130
#if ENABLE_INPUT_SYSTEM
131131
if (IsNewInputSystemEnabled())
132132
{
133-
shortcutAction.Enable();
134-
shortcutAction.performed += OnShortcutActionPerformed;
133+
ShortcutAction.Enable();
134+
ShortcutAction.performed += OnShortcutActionPerformed;
135135
}
136136
#endif
137137
}
@@ -141,8 +141,8 @@ void OnDisable()
141141
#if ENABLE_INPUT_SYSTEM
142142
if (IsNewInputSystemEnabled())
143143
{
144-
shortcutAction.performed -= OnShortcutActionPerformed;
145-
shortcutAction.Disable();
144+
ShortcutAction.performed -= OnShortcutActionPerformed;
145+
ShortcutAction.Disable();
146146
}
147147
#endif
148148
}

0 commit comments

Comments
 (0)