I am creating a color-by-number game in Unity. In which the player can click on the image empty path to fill the color according to the given number.
I am stuck in the logic of detecting close paths in the image. I am detecting close paths so that I can give a specific color to these close paths and when the player clicks on the path it fills with color.
Tell me the approach for this and any other suggestions
Thanks.
You can make each part a separate layer from Photoshop and export it as PSB to access the layers in Unity, that way you can change the color of individual layers. Hope this helps!