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:Â
![](https://static.packt-cdn.com/products/9781839217616/graphics/assets/5ff67584-a475-4bc3-a3d7-fedb387ee3c1.png)
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.