Unity - Scripting API: SettingsProvider.OnGUI
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Declaration
public void OnGUI(string searchContext);
Parameters
| Parameter | Description |
|---|---|
| searchContext | Search context for the Settings window. Used to show or hide relevant properties. |
Description
Use this function to draw the UI based on IMGUI. This assumes you haven't added any children to the rootElement passed to the OnActivate function.