Skip to content

Commit 5f033ac

Browse files
Alpha4 input press opens emote drawer (#599)
1 parent 3c9a905 commit 5f033ac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Assets/BossRoom/Scripts/Client/UI/HeroActionBar.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ void Update()
197197
// If we have another player selected, see if their aliveness state has changed,
198198
// and if so, update the interactiveness of the basic-action button
199199

200+
if (Input.GetKeyUp(KeyCode.Alpha4))
201+
{
202+
m_ButtonInfo[ActionButtonType.EmoteBar].Button.OnPointerUpEvent.Invoke();
203+
}
204+
200205
if (!m_SelectedPlayerNetState) { return; }
201206

202207
bool isAliveNow = m_SelectedPlayerNetState.NetworkLifeState.LifeState.Value == LifeState.Alive;

0 commit comments

Comments
 (0)