Files
bansonic_beta_main/Assets/scripts/Songs_Select/back_toPreviousPage.cs
T

33 lines
715 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class back_toPreviousPage : MonoBehaviour
{
public string scene_turn_to_previous_scene = "selectYourSongFirst";
[Header("homepage")]
public string homePage_sceneName_to_turn = "Main_main";
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void backto_PreviousPage()
{
SceneManager.LoadScene(scene_turn_to_previous_scene);
}
public void backto_homePage()
{
SceneManager.LoadScene(homePage_sceneName_to_turn);
}
}