12345678910111213141516171819202122232425262728293031323334353637383940 |
- using FairyGUI;
- using UI.Studio;
- namespace GFGGame
- {
- //织物副本
- public class StudioFabricView : StudioBaseView
- {
- public override void Dispose()
- {
- base.Dispose();
- }
- protected override void OnInit()
- {
- base.OnInit();
- _ui.m_btnBack.onClick.Add(OnClickBtnBack);
- }
- protected override void OnShown()
- {
- base.OnShown();
- _ui.m_c1.selectedIndex = 0;
- this.studioCfgs = StudioDataManager.Instance.GetStudioCfgListByViewName(typeof(StudioFabricView).FullName);
- }
- protected override void OnHide()
- {
- base.OnHide();
- }
- private void OnClickBtnBack()
- {
- ViewManager.GoBackFrom(typeof(StudioFabricView).FullName);
- }
- }
- }
|