コード例 #1
0
 private void Setup()
 {
     isVisible        = false;
     isInteractive    = false;
     name             = "CustomizeItExtendedPanelWrapper";
     relativePosition = new Vector3(CustomizeItExtendedMod.Settings.PanelX,
                                    CustomizeItExtendedMod.Settings.PanelX);
     backgroundSprite          = "MenuPanel";
     _uiTitleBar               = AddUIComponent <UiUniqueFactoryTitleBar>();
     _customizeItExtendedPanel = AddUIComponent <UiCustomizeItExtendedPanel>();
 }
 public override void Start()
 {
     base.Start();
     Instance = this;
     Setup();
 }