Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

SetSelectedWireframeHidden is private

Discussion in '5.5 Beta' started by roxIndie, Oct 10, 2016.

  1. roxIndie

    roxIndie

    Joined:
    Oct 14, 2012
    Posts:
    28
    With 5.5.0b6 i get a compile error using EditorUtility.SetSelectedWireframeHidden; Cannot access private method. According to the documentation this is supposed to be public. Worked fine in b4.
     
  2. Simie

    Simie

    Joined:
    Oct 26, 2012
    Posts:
    456
    The obsolete attribute attached to the method says to use EditorUtility.SetSelectedRenderState instead. It doesn't seem to be mentioned in the release notes though.
     
  3. roxIndie

    roxIndie

    Joined:
    Oct 14, 2012
    Posts:
    28
    Strange, I don't get any obsolete marking in Visual Studio, and it's not mentioned in either release notes or 5.5 docs.

    Thanks for the hint, SetSelectedRenderState works like a charm :)