PixelCrushers.DialogueSystem.UnityGUI.Fit Class Reference

Specifies how to fit a control in with its siblings. More...

Collaboration diagram for PixelCrushers.DialogueSystem.UnityGUI.Fit:

Public Attributes

GUIControl above
 Fit above the control assigned to this property. More...
 
GUIControl below
 Fit below the control assigned to this property. More...
 
GUIControl leftOf
 Fit to the left of the control assigned to this property. More...
 
GUIControl rightOf
 Fit to the right of the control assigned to this property. More...
 
bool expandToFit = true
 Set true to expand the size of the control to fit; false to move the control. More...
 

Properties

bool IsSpecified [get]
 Indicates whether any fit properties are specified. More...
 

Detailed Description

Specifies how to fit a control in with its siblings.

To use the control's scaled rect as-is, leave the properties below unassigned. If you want to fit the control exactly below another control, assign that control to the property 'below'. You can assign any combination of the four fit properties (e.g., below one control and to the right of another).

Member Data Documentation

◆ above

GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.above

Fit above the control assigned to this property.

◆ below

GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.below

Fit below the control assigned to this property.

◆ expandToFit

bool PixelCrushers.DialogueSystem.UnityGUI.Fit.expandToFit = true

Set true to expand the size of the control to fit; false to move the control.

◆ leftOf

GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.leftOf

Fit to the left of the control assigned to this property.

◆ rightOf

GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.rightOf

Fit to the right of the control assigned to this property.

Property Documentation

◆ IsSpecified

bool PixelCrushers.DialogueSystem.UnityGUI.Fit.IsSpecified
get

Indicates whether any fit properties are specified.

true if any fit properties specified; otherwise, false.


The documentation for this class was generated from the following file: