Files

14 lines
218 B
C#
Raw Permalink Normal View History

using UnityEngine;
public class GameSettings : MonoBehaviour
{
public static bool IsMobile;
void Awake()
{
IsMobile = Application.isMobilePlatform;
DontDestroyOnLoad(gameObject);
}
}