PO/Assets/Scripts/SceneLoader.cs

14 lines
273 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
public void ChangeScene(string _sceneName)
{
DataHolder.main.ChangeScene(_sceneName);
}
}