UnityEngine.Material.Material C# (CSharp) Method

Material() public method

Create a temporary Material.

public Material ( Shader shader ) : System
shader Shader Create a material with a given Shader.
return System
        public Material(Shader shader)
        {
            Internal_CreateWithShader(this, shader);
        }

Same methods

Material::Material ( Material source ) : System
Material::Material ( string contents ) : System