Skip to content

Conversation

keveleigh
Copy link
Contributor

Follow-up to #1039

There are a few more places we need to special case due to runtimes not being consistent about the relationship between app focus and input action state.

  • Turn off all input source viz when unfocused
  • Turn off hand joint data when unfocused

This also guards all the focus logic behind #if !UNITY_EDITOR flags, as the editor may lose focus as the dev clicks around, and we want to enable that case.

@keveleigh keveleigh self-assigned this Jul 31, 2025
@keveleigh keveleigh requested a review from a team as a code owner July 31, 2025 19:17
@keveleigh keveleigh force-pushed the turn-off-more-things-when-unfocused branch from bcb0928 to 05ef097 Compare July 31, 2025 19:19
@keveleigh keveleigh marked this pull request as draft July 31, 2025 22:49
@keveleigh keveleigh marked this pull request as ready for review August 1, 2025 21:52
@keveleigh keveleigh force-pushed the turn-off-more-things-when-unfocused branch from 6b32cbe to bf0c037 Compare August 1, 2025 21:53
@keveleigh keveleigh force-pushed the turn-off-more-things-when-unfocused branch 2 times, most recently from a04953c to f0fe35c Compare August 27, 2025 21:33
@keveleigh keveleigh marked this pull request as draft October 6, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant