Beispiel #1
0
#pragma warning restore 0414


        private void Awake()
        {
            this.test2.prefsString.TopMargin = 50f;

            this.test2.prefsButton3.TopMargin    = 30f;
            this.test2.prefsButton3.BottomMargin = 25f;

            this.test1.prefsIntSlider.BottomMargin   = 50f;
            this.test1.prefsIntSlider.GuiLabelSufix  = RichTextColors.Blue(" ~ ");
            this.test1.prefsIntSlider.GuiLabelPrefix = RichTextColors.Red(" ~ ");
        }
Beispiel #2
0
#pragma warning restore 0414


        private void Awake()
        {
            Debug.Log(HierarchyTest1.FullHierarchy);
            Debug.Log(HierarchyTest2Ex2.FullHierarchy);

            this.test2.PrefsString.TopMargin    = 50f;
            this.test2.PrefsString.BottomMargin = 50f;

            this.test2.PrefsButton3.TopMargin    = 30f;
            this.test2.PrefsButton3.BottomMargin = 25f;

            this.test1.PrefsIntSlider.BottomMargin   = 50f;
            this.test1.PrefsIntSlider.GuiLabelSufix  = RichTextColors.Blue(" ~ ");
            this.test1.PrefsIntSlider.GuiLabelPrefix = RichTextColors.Red(" ~ ");

            this.test3.PrefsLabel1.TopMargin    = 20f;
            this.test3.PrefsLabel1.BottomMargin = 20f;

            this.prefsRect.TopMargin = 15f;
        }