Search Unity

FadeGroupScope

Discussion in 'Documentation' started by flashframe, Apr 26, 2017.

  1. flashframe

    flashframe

    Joined:
    Feb 10, 2015
    Posts:
    798
    Just a heads up, the example for FadeGroupScope in the documentation produces this error:

    Adding parentheses didn't help. To get it working I had to change this line:

    Code (CSharp):
    1. m_ShowExtraFields.valueChanged = Repaint;
    to this:

    Code (CSharp):
    1. m_ShowExtraFields.valueChanged.AddListener(Repaint);
    https://docs.unity3d.com/ScriptReference/EditorGUILayout.FadeGroupScope.html
     
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Will get a bug reported for you. :)