Files
unity-application/Assets/Common/Scripts/BackButton.cs
Dries Van Schuylenbergh dfc69ddd76 Resolve WES-99 "Cc refactor"
2023-03-14 10:56:42 +00:00

16 lines
352 B
C#

using UnityEngine;
/// <summary>
/// Script managing the default 'back'-button action
/// </summary>
public class BackButton : MonoBehaviour
{
/// <summary>
/// The default 'back'-button action: go back to the previous scene
/// </summary>
public void Back()
{
SystemController.GetInstance().BackToPreviousScene();
}
}