alttester / alttester/AltTester-Unity-SDK
Add option to show/hide the AltTester popup in instrumented builds
- Langage dominant
- C#
- Étoiles
- 121
- Forks
- 24
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.