using System.Collections; using System.Collections.Generic; using UnityEngine; /* 界面-关于我们 */ public class AboutUsView : MonoBehaviour, MenuBackInterface { void Start() { JC.Unity.UI.AdapterUtils.MakeRectTransformFullScreen(this); PersistenHandler.ins?.menuBackCtr.views.Add(this); } void OnDestroy() { PersistenHandler.ins?.menuBackCtr.views.Remove(this); } public bool OnMenuBack() { Destroy(gameObject); return true; } public void Back() { AudioMgr.ins.PlayBtn(); Destroy(this.gameObject); } }