Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

Issue ID

724521

Regression

No

[Docs] says DynamicGI.SetEmissive has 3 parameters, but API only takes 2

Global Illumination

-

According to the docs DinamicGI.SetEmissive has 3 parameters:
DynamicGI.SetEmissive(Renderer,Color,int)
http://docs.unity3d.com/ScriptReference/DynamicGI.SetEmissive.html

But the actual method allows 2 parameters only.
DynamicGI.SetEmissive(Renderer,Color) (browsed with MonoDevelop)

So the actual version is useless when objects have more than one material, and you need to set the emission of only one of them.

Add comment

Log in to post comment