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