Skip to content

Commit

Permalink
[Input System] Don't install action trigger hook when notifications s…
Browse files Browse the repository at this point in the history
…et to UnityEvents (case ISXB-711)
  • Loading branch information
AlexTyrer committed Dec 16, 2024
1 parent d5f8543 commit 7d20523
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,9 @@ private void UpdateDelegates()
}
if (m_AllMapsHashCode != allMapsHashCode)
{
InstallOnActionTriggeredHook();
if (m_NotificationBehavior != PlayerNotifications.InvokeUnityEvents)
InstallOnActionTriggeredHook();

CacheMessageNames();
m_AllMapsHashCode = allMapsHashCode;
}
Expand Down

0 comments on commit 7d20523

Please sign in to comment.