OnGUI(Rect)
This is the main GUI method of the TreeView, where the TreeViewItems are processed and drawn.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor
public virtual void OnGUI(Rect rect)
Parameters
Rect where the TreeView is rendered.
Remarks
Call this at the point at which the TreeView should be rendered in the given Rect. If the TreeView is constructed with a MultiColumnHeader the header is included in the rect provided.