예제 #1
0
 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>();
 }
예제 #2
0
 public override void Start()
 {
     base.Start();
     Instance = this;
     SetupControls();
 }