Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

tvOS and the Focus Engine

Discussion in 'iOS and tvOS' started by nickfourtimes, Aug 19, 2019.

  1. nickfourtimes

    nickfourtimes

    Joined:
    Oct 13, 2010
    Posts:
    219
    Do we know of any solutions or plans for supporting the Focus Engine in Unity? I know we can get directional taps or even swipes on the Siri Remote and, provided we've correctly set up the UI navigation, we can move between different selectable elements. However, this works (near as I can tell) by effectively mimicking keyboard navigation, so even the swipes are simply digital signals.

    What I was hoping was for something a bit closer to the tvOS home screen, where there's a sense of anticipation and momentum to the movement: as you move your finger slowly, a given icon will wiggle a bit to the side before you switch to the neighbouring element; while if you move your finger quickly, you flip through a number of icons in the given direction very quickly.

    Is there some way to integrate directly with the Apple TV's Focus Engine? I imagine one workaround would be to create a plugin via Xcode, or else maybe implementing our own InputOverride.