Search Unity

UnityEngine.GUIClip no longer accessible? (Post 2017.2 update)

Discussion in 'Scripting' started by bitinn, Nov 17, 2017.

  1. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    961
    Hi,

    It seems Unity 2017.2 has changed UnityEngine.GUIClip's accessibility level, and it's no longer possible to access it?

    Screen Shot 2017-11-17 at 21.04.57.png

    see 2017.1 for a comparison.

    I don't have Windows so can't use ILSpy to confirm it, but please let me know if it's true.

    ----

    The reason I care is because a tool I use to change FOV on Unity scene view depends on it.

    The code to change FOV should work, but to make things easier it's key to be able to add a dropdown GUI on the scene view toolbar (see screenshot in the link above).

    IF it's no longer possible I would like to hear some suggestions on how to workaround it. I just can't live without being able to change FOV in scene view.

    Many thx!
     
  2. bitinn

    bitinn

    Joined:
    Aug 20, 2016
    Posts:
    961
    I know this is a "hidden" API so one shouldn't rely on it, but please let me know if there are any alternatives?