14 lines
218 B
C#
14 lines
218 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class GameSettings : MonoBehaviour
|
||
|
|
{
|
||
|
|
public static bool IsMobile;
|
||
|
|
|
||
|
|
void Awake()
|
||
|
|
{
|
||
|
|
IsMobile = Application.isMobilePlatform;
|
||
|
|
|
||
|
|
DontDestroyOnLoad(gameObject);
|
||
|
|
}
|
||
|
|
}
|