| System/Realm/RealmLevelUpBehaviour.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Realm/RealmRestraintWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Realm/RealmRestraintWin.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Realm/RealmWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Realm/RealmLevelUpBehaviour.cs
@@ -44,7 +44,7 @@ else { var config = RealmConfig.Get(realmLevel - 1); m_RequireRealmLevel.text = string.Format("境界达到<Img img={0}/>可修炼", config.Img); m_RequireRealmLevel.text = Language.Get("RealmLevelUpRequire", config.Img); } } System/Realm/RealmRestraintWin.cs
New file @@ -0,0 +1,51 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Thursday, March 14, 2019 //-------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Snxxz.UI { public class RealmRestraintWin : Window { [SerializeField] Button m_Confirm; #region Built-in protected override void BindController() { } protected override void AddListeners() { m_Confirm.AddListener(CloseClick); } protected override void OnPreOpen() { } protected override void OnAfterOpen() { } protected override void OnPreClose() { } protected override void OnAfterClose() { } #endregion } } System/Realm/RealmRestraintWin.cs.meta
New file @@ -0,0 +1,12 @@ fileFormatVersion: 2 guid: 437cef43d1a9a6647ad35dc25ee0c6c6 timeCreated: 1552549504 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant: System/Realm/RealmWin.cs
@@ -78,6 +78,7 @@ { m_Close.onClick.AddListener(OnBack); m_GotoBoss.AddListener(GotoBoss); m_RealmRestraint.AddListener(RealmRestraint); } protected override void OnPreOpen() @@ -274,6 +275,11 @@ } } private void RealmRestraint() { WindowCenter.Instance.Open<RealmRestraintWin>(); } public enum RealmState { LevelUp,