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

@@ -29,8 +29,8 @@ public class DebugNetworkUI : MonoBehaviour
_fpsCount = 0;
}
// Toggle detailed panel with F1
if (Keyboard.current != null && Keyboard.current[Key.F1].wasPressedThisFrame)
// Toggle detailed panel with ` (backtick)
if (Keyboard.current != null && Keyboard.current[Key.Backquote].wasPressedThisFrame)
_detailsVisible = !_detailsVisible;
}
@@ -47,7 +47,7 @@ public class DebugNetworkUI : MonoBehaviour
DrawDetailPanel(nm);
// Hint
GUI.Label(new Rect(10, Screen.height - 25, 300, 20), "F1 — Debug details", ImGuiSkin.Footer);
GUI.Label(new Rect(10, Screen.height - 25, 300, 20), "` — Debug details", ImGuiSkin.Footer);
}
// ───────── HUD Strip (always visible) ─────────