In the player on the Apple's tvOS.
Additional resources: RuntimePlatform, Platform dependent Compilation..
using UnityEngine;
public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.tvOS) { Debug.Log("Do something special here!"); } } }