This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if UNITY_EDITOR | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
public class EditorFontSize : EditorWindow | |
{ | |
[MenuItem("Window/Editor Font Size")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
// DERIVED FROM https://stewmcc.com/post/check-for-android-tv-in-unity/ | |
public class Platform_AndroidTV : MonoBehaviour { | |
#if UNITY_ANDROID | |
sbyte isAndroidTV = -1; // -1 == not checked yet; 0 == false; 1 == true |
OlderNewer