Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Palette Swapping Script for Unity 5

License

Notifications You must be signed in to change notification settings

0x2aff/PaletteSwapping-Unity5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaletteSwapping

  1. 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)

  1. Rightclick on your imported sprite → Create → Color Palette

  2. Edit the Palette

  1. Create your gameobject out of your sprite

  2. Add the Palette Changer Script (PaletteSwapping/Scrips/PaletteChager.cs) to your gameobject

  3. Add your Color Palette Asset as an Element of the Palettes array

  1. Have fun !