Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Warning
Removed. TreeView is now deprecated. You can likely now use TreeView\<int\> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeView\<InstanceID\> to get the proper typing.
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.