17 lines
381 B
C#
17 lines
381 B
C#
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");
|
|
}
|
|
}
|