Search Unity

[Documentation] "_EmissionColor" in Material.GetColor/SetColor

Discussion in 'Documentation' started by joa-baur, Sep 22, 2015.

  1. joa-baur

    joa-baur

    Joined:
    May 14, 2013
    Posts:
    24
    On the pages for Material.GetColor and Material.SetColor, in the line

    "_Emission" is the emissive color of a material (used in vertexlit shaders).

    the term "_Emission" should be changed to "_EmissionColor"
     
    DonPuno likes this.
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    I made a fix to the docs. Don't know exactly when it'll get updated... but will happen. Thanks for letting us know. (Bugs are always a good thing...)
     
    DonPuno and Gerard_Slee like this.