16 lines
352 B
C#
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();
|
|
}
|
|
}
|