private void Setup() { isVisible = false; isInteractive = false; name = "CustomizeItExtendedZonedBuildingPanelWrapper"; relativePosition = new Vector3(CustomizeItExtendedMod.Settings.PanelX, CustomizeItExtendedMod.Settings.PanelX); backgroundSprite = "MenuPanel"; _uiTitleBar = AddUIComponent <UiInfoTitleBar>(); _uiZonedBuildingPanel = AddUIComponent <UIZonedBuildingPanel>(); }
public override void Start() { base.Start(); Instance = this; Setup(); }