// *********************************************************************** // Assembly : Game // Author : Kimch // Created : 2021-05-01 // Description : // Last Modified By : // Last Modified On : // *********************************************************************** // // // *********************************************************************** namespace G.UI { public partial class AdventureBox : KUIWindow { #region Constructor public AdventureBox() : base(UILayer.kFloat, UIMode.kNone) { uiPath = "ui_w_adventure"; } #endregion #region Method /// /// /// /// public static void ShowAdventure(ItemAdventure adventure) { OpenWindow(adventure); } /// /// /// /// /// public static void ShowAdventure(ItemAdventure adventure, bool auto, Callback callback) { var tuple = System.Tuple.Create(adventure, auto, callback); OpenWindow(tuple); } #endregion #region Unity /// /// /// public override void Awake() { InitView(); } /// /// /// public override void OnEnable() { RefreshView(); } /// /// /// public override void Update() { UpdateView(); } /// /// /// public override void UpdatePerSecond() { } #endregion } }