24 lines
447 B
C#
24 lines
447 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
|
|
/// <summary>
|
|
/// 成就
|
|
/// </summary>
|
|
public class AchievementComponent : MonoBehaviour
|
|
{
|
|
public Button backButton;
|
|
private void Awake()
|
|
{
|
|
backButton.GetComponent<Button>().onClick.AddListener(OpenAchievementPage);
|
|
}
|
|
|
|
private void OpenAchievementPage()
|
|
{
|
|
UIManager.Instance.HideUI("成就");
|
|
}
|
|
|
|
}
|