StudioBaseView.cs 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System.Collections.Generic;
  2. using FairyGUI;
  3. using UI.Studio;
  4. namespace GFGGame
  5. {
  6. public class StudioBaseView : BaseWindow
  7. {
  8. protected UI_StudioEctypeUI _ui;
  9. protected List<StudioCfg> studioCfgs;
  10. public override void Dispose()
  11. {
  12. base.Dispose();
  13. }
  14. protected override void OnInit()
  15. {
  16. base.OnInit();
  17. packageName = UI_StudioEctypeUI.PACKAGE_NAME;
  18. _ui = UI_StudioEctypeUI.Create();
  19. this.viewCom = _ui.target;
  20. isfullScreen = true;
  21. _ui.m_list.itemRenderer = ListItemRender;
  22. }
  23. protected override void OnShown()
  24. {
  25. base.OnShown();
  26. }
  27. protected override void OnHide()
  28. {
  29. base.OnHide();
  30. }
  31. private void ListItemRender(int index, GObject obj)
  32. {
  33. }
  34. }
  35. }