This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...
Additional Inherited Members | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIScrollView | |
void | ResetScrollPosition () |
Resets the scroll position. | |
override void | DrawChildren (Vector2 relativeMousePosition) |
Draws the children, taking into account key/controller navigation if enabled. | |
Public Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl | |
virtual void | Awake () |
virtual void | OnEnable () |
Checks if the control needs to enable the first child for key/controller navigation. | |
void | Draw (Vector2 relativeMousePosition) |
Draw the control and its children. | |
virtual void | DrawSelf (Vector2 relativeMousePosition) |
Draws the control, but not its children. | |
virtual void | Update () |
If navigation is enabled, check if the selection button was pressed. | |
virtual void | Refresh (Vector2 windowSize) |
Marks a control as needing to update its layout. | |
virtual void | Refresh () |
virtual void | UpdateLayout () |
Updates the layout (size, position, formatting, etc.) of the control and its children. | |
virtual void | UpdateLayoutSelf () |
Updates the control's layout but not its children. | |
virtual void | AutoSizeSelf () |
Auto-sizes the control according to the autoSize settings. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIScrollView | |
bool | showVerticalScrollbar = true |
Show or hide the vertical scrollbar. | |
bool | showHorizontalScrollbar = false |
Show or hide the horizontal scrollbar. | |
int | padding = 2 |
The pixel padding inside the scroll view. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl | |
int | depth = 0 |
The drawing order depth. | |
bool | depthSortChildren = false |
If true , children are drawn in depth order; otherwise no specific order. | |
ScaledRect | scaledRect = new ScaledRect(ScaledRect.wholeScreen) |
The scaled rect defining the position of the control. | |
AutoSize | autoSize |
Auto-size settings. | |
Fit | fit |
Fit settings. | |
Navigation | navigation |
Keyboard/controller navigation settings. | |
bool | visible = true |
If true , this control and its children are visible. | |
bool | clipChildren = true |
Clip children to the control's bounds? | |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl | |
virtual void | FitSelf () |
Fits the control according to the fit settings. | |
Properties inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIScrollView | |
float | contentWidth [get, set] |
The width of the content as reported by the MeasureContentHandler. | |
float | contentHeight [get, set] |
The height of the content as reported by the MeasureContentHandler. | |
Properties inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIControl | |
Rect | rect [get, set] |
The pixel rect represented by scaledRect. | |
Vector2 | Offset [get, set] |
Gets or sets the offset to apply to the screen rect for this control; useful for manual repositioning outside the normal GUI control system. | |
List< GUIControl > | Children [get] |
The child controls. | |
bool | NeedToUpdateLayout [get, set] |
When true , the control needs to update its style, size, position, etc. | |
Vector2 | WindowSize [get, set] |
The size of the window most recently passed to Refresh(). | |
bool | IsNavigationEnabled [get] |
Gets a value indicating whether keyboard/controller navigation is enabled. | |
string | FullName [get] |
Gets the full name of the GameObject, used to focus the control when using keyboard/controller navigation. | |
Vector2 | dRect [get, set] |
Gets or sets dRect, which offsets the rect when the parent window isn't clipping. | |
Events inherited from PixelCrushers.DialogueSystem.UnityGUI.GUIScrollView | |
Action | MeasureContentHandler = null |
The handler(s) to call when the scroll view needs to measure its children. | |
Action | DrawContentHandler = null |
The handler(s) to call when the scroll view needs to draw its children. | |
This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class.