2022-01-16 23:20:47 +03:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine.SceneManagement;
|
|
|
|
|
|
|
|
public class SceneLoader : MonoBehaviour
|
|
|
|
{
|
2022-01-17 17:49:27 +03:00
|
|
|
|
2022-01-16 23:20:47 +03:00
|
|
|
public void ChangeScene(string _sceneName)
|
|
|
|
{
|
2022-01-17 17:49:27 +03:00
|
|
|
DataHolder.main.ChangeScene(_sceneName);
|
2022-01-16 23:20:47 +03:00
|
|
|
}
|
|
|
|
}
|