title: Change albedo from Material
body: <p><a href="https://i.stack.imgur.com/nQVSr.png" rel="nofollow noreferrer">I need to change the albedo of the Unity C # Material</a></p>
  
  <pre><code>public Material material;
  
  // Use this for initialization
  void Start () {
      material = GetComponent&lt;Renderer&gt; ().material;
      material.color = Color.red;
  }
  </code></pre>
  
  <p>This is the code I wrote, however, the color of Albedo is not changed.</p>