29 lines
558 B
C#
29 lines
558 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ExplanPage : UIPageBtnEventBase
|
|
{
|
|
|
|
public GameObject ˵Ã÷Êé;
|
|
|
|
public override void OnF1Click()
|
|
{
|
|
base.OnF1Click();
|
|
˵Ã÷Êé.SetActive(true);
|
|
}
|
|
|
|
|
|
public override void OnESCClick()
|
|
{
|
|
base.OnESCClick();
|
|
if (˵Ã÷Êé.activeInHierarchy)
|
|
{
|
|
˵Ã÷Êé.SetActive(false);
|
|
return;
|
|
}
|
|
ManagerPaoZhangBase.instance.paozhangMain.SetActive(true);
|
|
Destroy(gameObject);
|
|
}
|
|
}
|