private void Awake()
 {
     ButtonPrefab      = Resources.Load <ButtonUI>("Button");
     ProgressbarPrefab = Resources.Load <SliderUI>("Progressbar");
     MainCanvas        = FindObjectOfType <Canvas>();
     MainPanel         = MainCanvas.GetComponentInChildren <LayoutGroup>();
 }
 private void Awake()
 {
     ButtonPrefab      = Resources.Load <ButtonUi>("Button");
     DropdownPrefab    = Resources.Load <DropdownUi>("Dropdown");
     TogglePrefab      = Resources.Load <ToggleUi>("Toggle");
     SliderPrefab      = Resources.Load <SliderUI>("Slider");
     MainCanvas        = FindObjectOfType <Canvas>();
     ProgressbarPrefab = Resources.Load <SliderUI>("Progressbar");
     MainPanel         = MainCanvas.GetComponentInChildren <LayoutGroup>();
 }