PO/Assets/Scripts/MainCamera.cs

17 lines
381 B
C#
Raw Normal View History

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");
}
}