fix: remapper F1/F2/F3 -> backtick/Tab/T pour compatibilite WebGL navigateur

- DebugNetworkUI: F1 -> backtick (`)
- KeyBindingUI: F2 -> Tab
- ChatUI: F3 -> T (ouvrir seulement), Escape pour fermer

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 20:53:07 +02:00
parent b993c6b3e6
commit 7327f073d8
3 changed files with 15 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ public class KeyBindingUI : MonoBehaviour
void Update()
{
if (Keyboard.current != null && Keyboard.current[Key.F2].wasPressedThisFrame)
if (Keyboard.current != null && Keyboard.current[Key.Tab].wasPressedThisFrame)
{
_visible = !_visible;
IsVisible = _visible;
@@ -132,7 +132,7 @@ public class KeyBindingUI : MonoBehaviour
GUILayout.BeginHorizontal();
if (GUILayout.Button("Réinitialiser tout", ImGuiSkin.Button, GUILayout.Height(32)))
ResetAllBindings();
if (GUILayout.Button("Fermer (F2)", ImGuiSkin.Button, GUILayout.Height(32)))
if (GUILayout.Button("Fermer (Tab)", ImGuiSkin.Button, GUILayout.Height(32)))
{
_visible = false;
CancelRebind();
@@ -146,8 +146,7 @@ public class KeyBindingUI : MonoBehaviour
GUILayout.Label("Appuyez sur une touche pour assigner...", ImGuiSkin.Hint);
}
// F2 hint
GUILayout.Label("F2 — Ouvrir / Fermer ce menu", ImGuiSkin.Footer);
GUILayout.Label("Tab — Ouvrir / Fermer ce menu", ImGuiSkin.Footer);
ImGuiSkin.EndWindow();
}