public void Goal() { if (isGoal) { LevelDataManager.instance.LevelCompleted(); } LevelSettings.LoadSceneIndex(SceneIndex); }