ドキュメント

Unity Engine

Unity Engine

OnGUI(Rect, float)

Render and handle input for the MultiColumnHeader at the given rect.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public virtual void OnGUI(Rect rect, float xScroll)

Parameters

rect

Rect where the MultiColumnHeader is drawn in.

xScroll

Horizontal scroll offset.

Remarks

If the given
xScroll
is not 0 then the column headers will be scrolled but still clipped to the given Rect. This method can be overriden for complete custom behavior and rendering. For custom handling of indivdual column headers then see MultiColumnHeader.ColumnHeaderGUI.