alttester / alttester/AltTester-Unity-SDK

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

Open
#1,851 7 comments 0 reactions 1 assignee Claimed by @SiminaRe View on GitHub
2.2.6 From Users
Dominant language
C#
Stars
121
Forks
24
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.