- Import your sprite with following settings:
• Texture Type: Advanced
• Read/Write Enabled: Yes
• Wrap Mode: Clamp
• Filter Mode: Point
• Override for PC, Mac / Linux Standalone: Yes
• Format: ARGB 32bit (To enforce truetype)
-
Rightclick on your imported sprite → Create → Color Palette
-
Edit the Palette
-
Create your gameobject out of your sprite
-
Add the Palette Changer Script (PaletteSwapping/Scrips/PaletteChager.cs) to your gameobject
-
Add your Color Palette Asset as an Element of the Palettes array
- Have fun !