Accessing a palette from editor script

Hi there,
Just wondering if there’s a way to access a palette through scripting.

Any ideas?
Thanks,
Pete

What exactly do you mean by “a palette”? Unity doesn’t support color palettes, everything is done through textures, lighting, and shaders. If you want to create a palette system you need to do it yourself, or download a palette system off of the asset store. One idea is to create a texture with all the colors you want, make the texture readable, and then read the color values off of specific pixels in it.

Hi Dreamwriter,
I was referring to the palette in the screenshot, you can choose to save them to a file, just wondering if there’s a standard way to access that.