Check out example codes for "load material unity c#". It will help you in understanding the concepts better.

Code Example 1

Resources.Load("Material/Night_Sky.mat", typeof(Material)) as Material;

Code Example 2

night = Resources.Load("Material/Night_Sky.mat", typeof(Material)) as Material;

Learn ReactJs, React Native from akashmittal.com