Check Android TV Platform

I downloaded Unity 4.5.3p2 with Android TV support and trying port my games for Android TV. It is ok in emulator also D-PAD are working, but how can I detect if it is running on Android TV? Something like for Samsung:

if(Application.platform == RuntimePlatform.SamsungTVPlayer)
1 Like

The same as you I’ve been trying to find appropriate solution for differentiating between smartphone and Android-Tv with no luck. So I’ve wrote a Unity’s plugin that can be incorporated into Unity’s project available under GitHub - rixment/awu-plugin: Android Wrapper for Unity