18 lines
362 B
C#
18 lines
362 B
C#
using UnityEngine.UI;
|
|
using UnityEngine;
|
|
|
|
namespace Fruitomation.Game
|
|
{
|
|
public class ReturnToGameButton : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
Button b = GetComponent<Button>();
|
|
b.onClick.AddListener(() =>
|
|
{
|
|
SceneController.StartLoadOf("GameScene");
|
|
});
|
|
}
|
|
}
|
|
}
|