PO/Assets/Scripts/SceneLoader.cs

13 lines
263 B
C#
Raw Normal View History

2022-01-16 23:20:47 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneLoader : MonoBehaviour
{
public void ChangeScene(string _sceneName)
{
SceneManager.LoadScene(_sceneName);
}
}