using System; using UnityEngine; /// /// OSを設定する /// public class OSConfig { /// /// OSの設定 /// public static RuntimePlatform os = RuntimePlatform.WindowsPlayer; public static string osName { get { switch (os) { case RuntimePlatform.Android: return "Android"; case RuntimePlatform.IPhonePlayer: return "iOS"; case RuntimePlatform.WindowsPlayer: return "Standalone"; default: return ""; } } } }