using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainCamera : MonoBehaviour { public void GoToMission(MissionConfig _mission) { DataHolder.main.NewMission(_mission); DataHolder.main.ChangeScene("BattleScene"); } public void EndlessGame() { DataHolder.main.ChangeScene("BattleScene"); } }