BackgroundWindow.cs 857 B

123456789101112131415161718192021222324252627
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using UnityEngine;
  5. namespace COM3D2.MeidoPhotoStudio.Plugin
  6. {
  7. public class BackgroundWindow : BaseMainWindow
  8. {
  9. private EnvironmentManager environmentManager;
  10. private BackgroundSelectorPane backgroundSelectorPane;
  11. private PropsPane propsPane;
  12. public BackgroundWindow(EnvironmentManager environmentManager)
  13. {
  14. this.environmentManager = environmentManager;
  15. this.backgroundSelectorPane = new BackgroundSelectorPane(this.environmentManager);
  16. this.propsPane = new PropsPane(this.environmentManager);
  17. }
  18. public override void Draw(params GUILayoutOption[] layoutOptions)
  19. {
  20. this.backgroundSelectorPane.Draw();
  21. this.propsPane.Draw();
  22. }
  23. }
  24. }