add live select pannel

This commit is contained in:
CroakFang
2023-01-20 07:13:54 +08:00
parent 3b18268252
commit a4dc2516e3
1543 changed files with 107369 additions and 9227 deletions
@@ -0,0 +1,32 @@
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 "";
}
}
}
}