Method | Description | |
---|---|---|
OnInspectorGUI ( ) : void |
Draw the inspector widget.
|
Method | Description | |
---|---|---|
DrawButton ( string title, string tooltip, bool enabled, float width ) : bool |
Helper function that draws a button in an enabled or disabled state.
|
|
DrawVector3 ( Vector3 value ) : Vector3 |
Helper function that draws a field of 3 floats.
|
|
IsResetPositionValid ( Transform targetTransform ) : bool |
Helper function that determines whether its worth it to show the reset position button.
|
|
IsResetRotationValid ( Transform targetTransform ) : bool |
Helper function that determines whether its worth it to show the reset rotation button.
|
|
IsResetScaleValid ( Transform targetTransform ) : bool |
Helper function that determines whether its worth it to show the reset scale button.
|
|
Validate ( Vector3 vector ) : Vector3 |
Helper function that removes not-a-number values from the vector.
|