alttester / alttester/AltTester-Unity-SDK

Add option to show/hide the AltTester popup in instrumented builds

Abierto
#1,851 7 comentarios 0 reacciones 1 asignado Reclamado por @SiminaRe Ver en GitHub
2.2.6 From Users
Lenguaje dominante
C#
Estrellas
121
Forks
24
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Description & User Story:
As a developer/QA tester, I want to control the visibility of the AltTester popup in my instrumented build. This will allow me to use a single build for both automated testing and for general purposes (like demos or internal reviews) without having to create a separate "clean" build.

### Implementation Tasks:

**UI (AltTester Editor):**
- [x] Add a new checkbox setting in the "AltTester Editor" window labeled "Hide Green Popup"".
- [x] Set the default value to false to maintain existing behavior for current users.

**Core Logic (Instrumentation):**
- [x] Modify build instrumentation logic to read the new setting.
- [x] Conditionally render the popup at launch based on the saved setting.

**Runtime Feature (In-Game):**
- [x] Implement a universal shortcut to toggle the popup's visibility at runtime.
- [x] Desktop (PC/Mac): Use key combination Ctrl+Alt+T.
- [x] Mobile (Android/iOS): Hold three finger for 1 second.

**Documentation:**
- [x] Update the user documentation to explain the new editor setting and the runtime shortcut.

### Acceptance Criteria:
- [x] The new checkbox is visible and functional in the "AltTester Editor" window.
- [x] If the box is ~~un~~checked, the game starts with the popup hidden.
- [x] The runtime shortcut successfully shows and hides the popup on all supported platforms.
- [x] AltTester Desktop can connect and run tests whether the popup is visible or hidden.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.