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

            row.height = 24f;

            enemyColorField.Draw(row);
            enemyColor = enemyColorField.Value;
            row.y     += 30f;

            enemyRadiusField.Draw(row);
            enemyRadius = enemyRadiusField.Value;
            row.y      += 30f;

            visitorColorField.Draw(row);
            visitorColor = visitorColorField.Value;
            row.y       += 30f;

            visitorRadiusField.Draw(row);
            visitorRadius = visitorRadiusField.Value;
            row.y        += 30f;

            traderColorField.Draw(row);
            traderColor = traderColorField.Value;
            row.y      += 30f;

            traderRadiusField.Draw(row);
            traderRadius = traderRadiusField.Value;

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

            row.height = 24f;

            colorInput.Draw(row);
            color = colorInput.Value;

            return(30f);
        }
        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);
        }
Example #4
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);
        }
Example #5
0
        public float DrawMCMRegion(Rect InRect)
        {
            Rect row = InRect;

            row.height = 24f;

            poweredInput.Draw(row);
            poweredColor = poweredInput.Value;
            row.y       += 30f;

            poweredByBatteriesInput.Draw(row);
            poweredByBatteriesColor = poweredByBatteriesInput.Value;
            row.y += 30f;

            notPoweredInput.Draw(row);
            notPoweredColor = notPoweredInput.Value;
            row.y          += 30f;

            offInput.Draw(row);
            offColor = offInput.Value;
            row.y   += 30f;

            return(4 * 30f);
        }