MapShower.cs:
in Start method
- Calculate remap tex (current get remap tex from file)
- Create Pallete tex & fill white collor
- Create Pallete offsets list
in Update method
- Check buttons
- Check mouse position & color pallete by pos
BorderShower.cs:
in Start method
- Calc border points CalculatePoints(mainArr);
- Clear doubles from point list ClearPointsIntList(_bordersInt);
- Convert int point to float
- Add borders to list that save border by border color
- Check that bordes do not heve border with one point
- Sorting point into line
- Additional filtering???
- Calc mesh size
in Update method
- increment/decrement province border enumerator(used for select part of province boder)
- Calc mouse pos and drawing border if clicked