Files
the-peoples-messenger/Assets/Scripts/ReloadLevelScript.cs
T
2026-08-30 09:39:21 +01:00

24 lines
453 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class ReloadLevelScript : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void ReloadLevel()
{
AudioManager.Instance.PlaySound("WordAdd");
SceneManager.LoadScene(1);
}
}