Changing the Albedo of a material in a script

Hello

I want to make skins for the main player in my game and I would like to know is how to change the albedo in the main map of a material into the texture of a skin

What I want is to change this Albedo image without changing the color
206127-captura-de-ecra-2023-04-02-153319.png

All of this inside of a script. How do I do it?

Hello,
Take a look at that Unity - Scripting API: Material.SetTexture