C# Class UIPanelInspector, TheUnseen

Inheritance: Editor
Show file Open project: henryj41043/TheUnseen

Public Methods

Method Description
OnSceneGUI ( ) : void

Handles & interaction.

Protected Methods

Method Description
DrawFinalProperties ( ) : void

Add the "Show draw calls" button at the very end.

OnEnable ( ) : void
ShouldDrawProperties ( ) : bool

Draw the inspector widget.

Private Methods

Method Description
AdjustClipping ( UIPanel, p, Vector3 startLocalPos, Vector4 startCR, Vector3 worldDelta, UIWidget, pivot ) : void

Adjust the panel's position and clipping rectangle.

AdjustClipping ( UIPanel, p, Vector4 cr, int left, int top, int right, int bottom ) : void

Adjust the panel's clipping rectangle based on the specified modifier values.

DrawKnob ( Vector4 point, int id, bool canResize ) : void

Helper function that draws draggable knobs.

OnDisable ( ) : void

Method Details

DrawFinalProperties() protected method

Add the "Show draw calls" button at the very end.
protected DrawFinalProperties ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

OnSceneGUI() public method

Handles & interaction.
public OnSceneGUI ( ) : void
return void

ShouldDrawProperties() protected method

Draw the inspector widget.
protected ShouldDrawProperties ( ) : bool
return bool