21 lines
409 B
C#
21 lines
409 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class Gamification_StartBtn : MonoBehaviour
|
|
{
|
|
private Button thisBtn;
|
|
|
|
public void Awake()
|
|
{
|
|
thisBtn = GetComponent<Button>();
|
|
thisBtn.onClick.AddListener(StartGame);
|
|
}
|
|
|
|
public void StartGame()
|
|
{
|
|
Gamification_HUDControl.instance.LoadGame();
|
|
}
|
|
}
|