|
| GUIFrame (RectTransform rectT, string style="", Color? color=null) |
|
delegate bool | SecondaryButtonDownHandler (GUIComponent component, object userData) |
|
T | GetChild< T > () |
|
T | GetAnyChild< T > () |
|
IEnumerable< T > | GetAllChildren< T > () |
|
IEnumerable< GUIComponent > | GetAllChildren () |
| Returns all child elements in the hierarchy. More...
|
|
GUIComponent | GetChild (int index) |
|
int | GetChildIndex (GUIComponent child) |
|
GUIComponent | GetChildByUserData (object obj) |
|
bool | IsParentOf (GUIComponent component, bool recursive=true) |
|
bool | IsChildOf (GUIComponent component, bool recursive=true) |
|
virtual void | RemoveChild (GUIComponent child) |
|
GUIComponent | FindChild (Func< GUIComponent, bool > predicate, bool recursive=false) |
|
GUIComponent | FindChild (object userData, bool recursive=false) |
|
IEnumerable< GUIComponent > | FindChildren (object userData) |
|
IEnumerable< GUIComponent > | FindChildren (Func< GUIComponent, bool > predicate) |
|
virtual void | ClearChildren () |
|
void | SetAsFirstChild () |
|
void | SetAsLastChild () |
|
virtual void | AddToGUIUpdateList (bool ignoreChildren=false, int order=0) |
|
void | RemoveFromGUIUpdateList (bool alsoChildren=true) |
|
void | UpdateAuto (float deltaTime) |
| Only GUI should call this method. Auto updating follows the order of GUI update list. This order can be tweaked by changing the UpdateOrder property. More...
|
|
void | UpdateManually (float deltaTime, bool alsoChildren=false, bool recursive=true) |
| By default, all the gui elements are updated automatically in the same order they appear on the update list. More...
|
|
virtual void | ForceLayoutRecalculation () |
|
void | ForceUpdate () |
|
void | UpdateChildren (float deltaTime, bool recursive) |
| Updates all the children manually. More...
|
|
void | DrawAuto (SpriteBatch spriteBatch) |
| Only GUI should call this method. Auto drawing follows the order of GUI update list. This order can be tweaked by changing the UpdateOrder property. More...
|
|
virtual void | DrawManually (SpriteBatch spriteBatch, bool alsoChildren=false, bool recursive=true) |
| By default, all the gui elements are drawn automatically in the same order they appear on the update list. More...
|
|
virtual void | DrawChildren (SpriteBatch spriteBatch, bool recursive) |
| Draws all the children manually. More...
|
|
void | DrawToolTip (SpriteBatch spriteBatch) |
| Creates and draws a tooltip. More...
|
|
virtual void | Flash (Color? color=null, float flashDuration=1.5f, bool useRectangleFlash=false, bool useCircularFlash=false, Vector2? flashRectInflate=null) |
|
void | ImmediateFlash (Color? color=null) |
|
void | FadeOut (float duration, bool removeAfter, float wait=0.0f, Action onRemove=null) |
|
void | FadeIn (float wait, float duration) |
|
void | SlideIn (float wait, float duration, int amount, SlideDirection direction) |
|
void | SlideOut (float duration, int amount, SlideDirection direction) |
|
void | Pulsate (Vector2 startScale, Vector2 endScale, float duration) |
|
virtual void | ApplyStyle (GUIComponentStyle style) |
|
void | ApplySizeRestrictions (GUIComponentStyle style) |
|
Definition at line 7 of file GUIFrame.cs.