Specifies how to fit a control in with its siblings. More...
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... | |
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).
GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.above |
Fit above the control assigned to this property.
GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.below |
Fit below the control assigned to this property.
bool PixelCrushers.DialogueSystem.UnityGUI.Fit.expandToFit = true |
Set true
to expand the size of the control to fit; false
to move the control.
GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.leftOf |
Fit to the left of the control assigned to this property.
GUIControl PixelCrushers.DialogueSystem.UnityGUI.Fit.rightOf |
Fit to the right of the control assigned to this property.
|
get |
Indicates whether any fit properties are specified.
true
if any fit properties specified; otherwise, false
.