RowGUI(RowGUIArgs)
Override this method to add custom GUI content for the rows in the TreeView.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
protected virtual void RowGUI(TreeView.RowGUIArgs args)
Parameters
Row data.
Remarks
This method is called once per visible row. The See Also section below links to methods and properties that can be used to tweak where the default icon, text and foldout arrow are rendered and other useful information when doing custom row content.
If the TreeView is used in combination with a MultiColumnHeader then use the methods of RowGUIArgs to access information for the columns. See the manual for examples.
Additional Resources: TreeView.GetContentIndent, TreeView.GetFoldoutIndent.