public float DrawMCMRegion(Rect InRect)
        {
            Rect row = InRect;

            row.height = 24f;

            colorInput.Draw(row);
            color  = colorInput.Value;
            row.y += 30f;

            radiusInput.Draw(row);
            radius = radiusInput.Value;
            row.y += 30f;

            return(2 * 30f);
        }
Beispiel #2
0
        public float DrawMCMRegion(Rect InRect)
        {
            Rect row = InRect;

            row.height = 24f;

            tameColorInput.Draw(row);
            tameColor = tameColorInput.Value;
            row.y    += 30f;

            tameRadiusInput.Draw(row);
            tameRadius = tameRadiusInput.Value;
            row.y     += 30f;

            wildColorInput.Draw(row);
            wildColor = wildColorInput.Value;
            row.y    += 30f;

            wildRadiusInput.Draw(row);
            wildRadius = wildRadiusInput.Value;
            row.y     += 30f;

            hostileColorInput.Draw(row);
            hostileColor = hostileColorInput.Value;
            row.y       += 30f;

            hostileRadiusInput.Draw(row);
            hostileRadius = hostileRadiusInput.Value;
            row.y        += 30f;

            huntingColorInput.Draw(row);
            huntingColor = huntingColorInput.Value;
            row.y       += 30f;

            huntingRadiusInput.Draw(row);
            huntingRadius = huntingRadiusInput.Value;
            row.y        += 30f;

            tamingColorInput.Draw(row);
            tamingColor = tamingColorInput.Value;
            row.y      += 30f;

            tamingRadiusInput.Draw(row);
            tamingRadius = tamingRadiusInput.Value;

            return(10 * 30f);
        }