Search Unity

Bug Terrain Tools 4.0.0-pre.2 BaseBrushUIGroup added controls OnInspectorGUI not called

Discussion in 'World Building' started by carl010010, Jul 4, 2021.

  1. carl010010

    carl010010

    Joined:
    Jul 14, 2010
    Posts:
    140
    As the title says, when inheriting from BaseBrushUIGroup and using AddController(), the OnInspectorGUI function in the controller that is added is never called. All other functions i.e. OnEnter/ExitToolMode, OnPaint, OnSceneGUI, and AppendBrushInfo are all called correctly.

    Is there a reason for this? We can override the BaseBrushUIGroup's OnInspectorGUI but it would be nice if it was handled the same ways as the other functions.
     
    Last edited: Jul 4, 2021