1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using UI.Studio;
- namespace GFGGame
- {
- public class StudioView : BaseWindow
- {
- private UI_StudioUI _ui;
- public override void Dispose()
- {
- base.Dispose();
- }
- protected override void OnInit()
- {
- base.OnInit();
- packageName = UI_StudioUI.PACKAGE_NAME;
- _ui = UI_StudioUI.Create();
- this.viewCom = _ui.target;
- isfullScreen = true;
- _ui.m_btnBack.onClick.Add(OnClickBtnBack);
- // EventAgent.AddEventListener(ConstMessage.MAINTAIN_SUIT, OnListenerFoster);
- // EventAgent.AddEventListener(ConstMessage.GET_MAINTAIN_SUIT_BONUS, OnListenerGetFosterReward);
- // EventAgent.AddEventListener(ConstMessage.MAKE_NEW_SUIT, OnListenerRenew);
- }
- protected override void OnShown()
- {
- base.OnShown();
- }
- protected override void OnHide()
- {
- base.OnHide();
- }
- private void OnClickBtnBack()
- {
- ViewManager.GoBackFrom(typeof(StudioView).FullName);
- }
- }
- }
|