void Awake() { if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } }
public void TransitionScene(string _sceneName) { if (LoadScreenController.Instance != null) { LoadScreenController.Fade(1, () => { if (SceneChanger.Instance != null) { SceneChanger.ChangeScene(_sceneName); } }); } }