WX-Game1/Assets/Scripts/Manager/ClockInManager.cs

19 lines
397 B
C#

using System.Collections;
using System.Collections.Generic;
using MotionFramework;
using UnityEngine;
using UnityEngine.UI;
public class ClockInManager : MonoBehaviour
{
void Start()
{
this.GetComponent<Button>().onClick.AddListener(OpenAchievementPage);
}
private void OpenAchievementPage()
{
MotionEngine.GetModule<JavaScriptCaller>().JumpToDaka();
}
}