I’m considering porting my amateur game from pygame to Unity. One of the cooler features I have is random colors for enemies. The way I do it is by drawing a spritesheet using specific colors ([49,1,1] for Primary, [1,49,1] for Secondary, etc.). After loading it into memory, I then run a method to take, for instance, all pixels with color [49,1,1] and change them to .
Is a similar process doable in Unity? Or is there a much easier way of doing this that I’m overlooking?