22 lines
450 B
C#
22 lines
450 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using MotionFramework;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
/// <summary>
|
|
/// 成就管理
|
|
/// </summary>
|
|
public class AchievementManager : MonoBehaviour
|
|
{
|
|
void Start()
|
|
{
|
|
this.GetComponent<Button>().onClick.AddListener(OpenAchievementPage);
|
|
}
|
|
|
|
private void OpenAchievementPage()
|
|
{
|
|
MotionEngine.GetModule<JavaScriptCaller>().JumpToAchieve();
|
|
}
|
|
}
|