StudioBaseView.cs 826 B

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