alttester / alttester/AltTester-Unity-SDK

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

Offen
#1,851 7 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @SiminaRe Auf GitHub ansehen
2.2.6 From Users
Vorherrschende Sprache
C#
Sterne
121
Forks
24
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.