public void Open() { SceneLoader.LoadScene(1); startMenu.SetActive(false); ResourcesUIControl.TurnUION(true); DBSaveControl.LoadData(); }
private void Awake() { if (_instance == null) { _instance = this; } else if (_instance != this) { Destroy(gameObject); } }