23 lines
410 B
C#
23 lines
410 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class GlobalSettings : MonoBehaviour
|
|
{
|
|
public static GlobalSettings Instance;
|
|
|
|
private void Awake()
|
|
{
|
|
if (Instance == null)
|
|
{
|
|
Instance = this;
|
|
}
|
|
else if (Instance != this)
|
|
{
|
|
Destroy(gameObject);
|
|
}
|
|
}
|
|
|
|
public bool AllMaps = false;
|
|
}
|