Files
UmaViewer/Assets/Scripts/umamusume/Gallop/DereScript/OSConfig.cs
T
2023-01-20 07:13:54 +08:00

33 lines
689 B
C#

using System;
using UnityEngine;
/// <summary>
/// OSを設定する
/// </summary>
public class OSConfig
{
/// <summary>
/// OSの設定
/// </summary>
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 "";
}
}
}
}