Another way to make a material is to directly create a Material asset file in the Project window. To do this, follow these steps:
- Click the plus (+) sign of the Project window and choose Material:
Figure 5.9 – Creating a new Material asset file in the Project window
- Select the new material in the Project window. Then, in the Inspector window, set the Albedo property to the beware image:Â
Figure 5.10 – Setting the beware image as the material's Albedo property
This is what happens automatically if an image is dragged onto a GameObject – a new Material asset file with the Albedo of that image is created in the Materials folder.