2023-10-10 17:25:59 +03:00
|
|
|
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;
|
|
|
|
}
|
2023-10-17 12:37:34 +03:00
|
|
|
else if (Instance != this)
|
2023-10-10 17:25:59 +03:00
|
|
|
{
|
|
|
|
Destroy(gameObject);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public bool AllMaps = false;
|
|
|
|
}
|