alttester / alttester/AltTester-Unity-SDK

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

オープン
#1,851 コメント 7 件 リアクション 0 件 担当者 1 名 @SiminaRe が担当を希望しています GitHub で見る
2.2.6 From Users
主要言語
C#
スター
121
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。