Recently I began to study Unity and decided to make the choice of the color of the door “Left_Doors” presses the red button and the color of the door changes. Specify the name of what I want to replace
In most cases, you’ll need to use SetColor() on the material, and you’ll need to know which shader property to modify. In many cases the property name is “_Color”, but you’d need to select the shader, and view the list of properties at the bottom of the inspector window. The docs give an example: Unity - Scripting API: Material.SetColor