// 本脚本只在不存在时会生成一次。已存在不会再次生成覆盖 using System.Globalization; using UnityEngine; using NBC; namespace NBF { public partial class FishingPanel : UIPanel { public override string UIPackName => "Fishing"; public override string UIResName => "FishingPanel"; protected override void OnInit() { base.OnInit(); } protected override void OnShow() { base.OnShow(); } protected override void OnUpdate() { if (!SceneSettings.Instance) return; TextFPS.text = SceneSettings.Instance.FPS.ToString(CultureInfo.InvariantCulture); } protected override void OnHide() { base.OnHide(); } protected override void OnDestroy() { base.OnDestroy(); } } }