Search Unity

apple tvos does not recognize UnityEngine.tvOS.Remote.allowExitToHome = false;

Discussion in 'iOS and tvOS' started by GamerSuji, Mar 28, 2020.

  1. GamerSuji

    GamerSuji

    Joined:
    Aug 1, 2015
    Posts:
    8
    I am trying to use the menu button of the apple tv remote. As per the documentation I did
    UnityEngine.tvOS.Remote.allowExitToHome = false;
    at awake and Input.GetKeyUp(KeyCode.Pause); in update to recognize it being clicked. But so far I have received no acknowledgement from my app that the menu button is being pressed when I press it. Am i doing it wrong or is it plain out not working? Kindly let me know