private void SetupControls()
 {
     isVisible        = false;
     isInteractive    = true;
     name             = "CustomizeItPanelWrapper";
     padding          = new RectOffset(10, 10, 4, 4);
     relativePosition = new Vector3(10, 60);
     backgroundSprite = "MenuPanel";
     titleBar         = AddUIComponent <UITitleBar>();
     customizePanel   = AddUIComponent <UICustomizePanel>();
 }
Exemple #2
0
 public override void Start()
 {
     base.Start();
     Instance = this;
     SetupControls();
 }