|
static uDialog | SetShowTitle (this uDialog uDialog, bool showTitle=true) |
| Should this uDialog show a title? More...
|
|
static uDialog | SetShowTitleCloseButton (this uDialog uDialog, bool showTitleCloseButton=true) |
| Should this uDialog show a close button on the title? More...
|
|
static uDialog | SetShowTitleMinimizeButton (this uDialog uDialog, bool showTitleMinimizeButton=true) |
| Should this uDialog show a minimize button on the title? More...
|
|
static uDialog | SetTitleText (this uDialog uDialog, string title, bool dontSetName=false) |
| Sets the title text of this uDialog. More...
|
|
static uDialog | SetVisibleOnStart (this uDialog uDialog, bool visibleOnStart=true) |
| Sets whether or not this uDialog is initially visible. Please note: if the uDialog GameObject is not active, the uDialog will not be shown regardless of the value of this setting. More...
|
|
static uDialog | SetContentText (this uDialog uDialog, string text) |
| Set the content text of this uDialog. Set to null or empty to disable the text component (allowing the space it takes up to be used by other elements) More...
|
|
static uDialog | SetIcon (this uDialog uDialog, eIconType iconType) |
| Set the Icon Type of this uDialog. More...
|
|
static uDialog | SetIcon (this uDialog uDialog, Sprite newIcon) |
| Set a specific sprite as the icon for this uDialog. More...
|
|
static uDialog | SetShowButtons (this uDialog uDialog, bool showButtons=true) |
| Specify whether or not this uDialog should show any buttons. More...
|
|
static uDialog | SetCloseWhenAnyButtonClicked (this uDialog uDialog, bool closeWhenAnyButtonClicked=true) |
| Specify whether or not this uDialog should close when any of its buttons are clicked. More...
|
|
static uDialog | AddButton (this uDialog uDialog, uDialog_Button_Data button, bool showButtons=true, bool focusThisButton=false) |
| Add a new button to this uDialog. More...
|
|
static uDialog | AddButton (this uDialog uDialog, string buttonText, UnityAction buttonAction, bool showButtons=true, bool focusThisButton=false) |
| Add a new button to this uDialog. More...
|
|
static uDialog | AddButton (this uDialog uDialog, string buttonText, UnityAction< uDialog > buttonAction, bool showButtons=true, bool focusThisButton=false) |
| Add a new button to this uDialog. More...
|
|
static uDialog | AddButton (this uDialog uDialog, string buttonText, UnityAction< uDialog, uDialog_Button_Data > buttonAction, bool showButtons=true, bool focusThisButton=false) |
| Add a new button to this uDialog. Will automatically call button.Update() after buttonAction is complete to carry over any changes to the button. More...
|
|
static uDialog | SetButtons (this uDialog uDialog, bool showButtons, params uDialog_Button_Data[] buttons) |
| Set the buttons for this uDialog (replacing any existing buttons) More...
|
|
static uDialog | SetButtons (this uDialog uDialog, params uDialog_Button_Data[] buttons) |
| Set the buttons for this uDialog (replacing any existing buttons) More...
|
|
static uDialog | SetModal (this uDialog uDialog, bool modal=true, bool closeWhenOverlayIsClicked=false) |
| Specify whether or not this uDialog should be modal. If the uDialog is modal, the Screen Overlay will be shown. More...
|
|
static uDialog | SetAutoClose (this uDialog uDialog, bool autoClose=true, float autoCloseTime=10f) |
| Specify whether or not this uDialog should automatically close on its own after a specified duration. More...
|
|
static uDialog | SetThemeImageSet (this uDialog uDialog, eThemeImageSet imageSet) |
| Set the Theme Image Set used by this uDialog. More...
|
|
static uDialog | SetOutlineMode (this uDialog uDialog, eOutlineMode outlineMode) |
| Set the Outline Mode used by this uDialog (Shadow / Glow / None) More...
|
|
static uDialog | SetColorScheme (this uDialog uDialog, string newColorScheme) |
| Set the Color Scheme used by this uDialog. More...
|
|
static uDialog | SetCustomColorScheme (this uDialog uDialog, uDialog_ColorScheme newColorScheme) |
| Set a custom color scheme, specifying the colors in a uDialog_ColorScheme object. This will set the ColorScheme used by this uDialog to 'Custom' to prevent the values from being overriden by any other color scheme. More...
|
|
static bool | SaveCurrentColorScheme (this uDialog uDialog, string colorSchemeName) |
| Save the colors currently used by this uDialog as a color scheme which can then be used later (via SetColorScheme) This can be used to overwrite existing schemes More...
|
|
static uDialog | SetCloseWhenClicked (this uDialog uDialog, bool closeWhenClicked=true) |
| Specify whether or not this uDialog should close when it is clicked (anywhere) More...
|
|
static uDialog | AddOnShowEvent (this uDialog uDialog, UnityAction< uDialog > onShowEvent) |
| Add an event to be triggered when this uDialog is shown. More...
|
|
static uDialog | AddOnShowEvent (this uDialog uDialog, UnityAction onShowEvent) |
| Add an event to be triggered when this uDialog is shown. More...
|
|
static uDialog | AddOnCloseEvent (this uDialog uDialog, UnityAction< uDialog > onCloseEvent) |
| Add an event to be triggered when this uDialog is closed. More...
|
|
static uDialog | AddOnCloseEvent (this uDialog uDialog, UnityAction onCloseEvent) |
| Add an event to be triggered when this uDialog is closed. More...
|
|
static uDialog | AddOnClickEvent (this uDialog uDialog, UnityAction< uDialog > onClickEvent) |
| Add an event to be triggered when this uDialog is clicked. More...
|
|
static uDialog | AddOnClickEvent (this uDialog uDialog, UnityAction onClickEvent) |
| Add an event to be triggered when this uDialog is clicked. More...
|
|
static uDialog | AddOnMinimizeEvent (this uDialog uDialog, UnityAction< uDialog > onMinimizeEvent) |
|
static uDialog | AddOnMinimizeEvent (this uDialog uDialog, UnityAction onMinimizeEvent) |
|
static uDialog | AddOnMaximizeEvent (this uDialog uDialog, UnityAction< uDialog > onMaximizeEvent) |
|
static uDialog | AddOnMaximizeEvent (this uDialog uDialog, UnityAction onMaximizeEvent) |
|
static uDialog | AddToTaskBar (this uDialog uDialog, uDialog_TaskBar taskBar, bool isActive=true) |
| Add this uDialog window to a uDialog_TaskBar More...
|
|
static uDialog | SetShowAnimation (this uDialog uDialog, eShowAnimation showAnimation) |
| Set the animation to be used when this uDialog is shown. More...
|
|
static uDialog | SetCloseAnimation (this uDialog uDialog, eCloseAnimation closeAnimation) |
| Specify the animation to be used when this uDialog is closed. More...
|
|
static uDialog | SetWidth (this uDialog uDialog, float width) |
| Set the width of this uDialog. More...
|
|
static uDialog | SetHeight (this uDialog uDialog, float height) |
| Set the height of this uDialog. More...
|
|
static uDialog | SetDimensions (this uDialog uDialog, float width, float height) |
| Set the width and height of this uDialog. More...
|
|
static uDialog | SetParent (this uDialog uDialog, RectTransform parent) |
| Set the parent of this uDialog (e.g. so that it can be contained within another RectTransform) More...
|
|
static uDialog | SetParent (this uDialog uDialog, GameObject parent) |
| Set the parent of this uDialog (e.g. so that it can be contained within another RectTransform) More...
|
|
static uDialog | SetTitleFont (this uDialog uDialog, Font newFont, int?newSize=null, FontStyle?newStyle=null, eTextEffect?newEffect=null) |
| Set the font, size, style, and effect of the title text. More...
|
|
static uDialog | SetContentFont (this uDialog uDialog, Font newFont, int?newSize=null, FontStyle?newStyle=null, eTextEffect?newEffect=null) |
| Set the font, size, style, and effect of the content font. More...
|
|
static uDialog | SetTitleFontSize (this uDialog uDialog, int newSize) |
| Set the size of the title font. More...
|
|
static uDialog | SetTitleFontSize (this uDialog uDialog, int minSize, int maxSize) |
| Set the size of the title font - it will use standard 'resizeTextForBestFit' behaviour between minSize and maxSize More...
|
|
static uDialog | SetContentFontSize (this uDialog uDialog, int newSize) |
| Set the size of the content font. More...
|
|
static uDialog | SetContentFontSize (this uDialog uDialog, int minSize, int maxSize) |
| Set the size of the content font - it will use standard 'resizeTextForBestFit' behaviour between minSize and maxSize More...
|
|
static uDialog | SetTitleFontStyle (this uDialog uDialog, FontStyle newStyle) |
| Set the style of the title font. More...
|
|
static uDialog | SetContentFontStyle (this uDialog uDialog, FontStyle newStyle) |
| Set the style of the content font. More...
|
|
static uDialog | SetTitleTextEffect (this uDialog uDialog, eTextEffect newEffect) |
| Set the text effect used by the title text. More...
|
|
static uDialog | SetContentTextEffect (this uDialog uDialog, eTextEffect newEffect) |
| Set the text effect used by the content text. More...
|
|
static uDialog | SetButtonFont (this uDialog uDialog, Font font) |
| Set the font used by the buttons. More...
|
|
static uDialog | SetButtonTextEffect (this uDialog uDialog, eTextEffect newEffect) |
| Set the text effect used by the buttons. More...
|
|
static uDialog | SetButtonFontStyle (this uDialog uDialog, FontStyle newStyle) |
| Set the font style used by the buttons. More...
|
|
static uDialog | SetButtonFontSize (this uDialog uDialog, int newSize) |
| Set the font size used by the buttons. More...
|
|
static uDialog | SetButtonFontSize (this uDialog uDialog, int minSize, int maxSize) |
| Set the font size used by the buttons - they will use standard 'resizeTextForBestFit' behaviour between minSize and maxSize More...
|
|
static uDialog | SetButtonSize (this uDialog uDialog, float width, float height) |
|
static uDialog | SetDestroyAfterClose (this uDialog uDialog, bool destroyAfterClose=true) |
| Specify whether or not this uDialog should be destroyed after closing. More...
|
|
static uDialog | ClearButtons (this uDialog uDialog) |
| Remove all buttons from this uDialog. More...
|
|
static uDialog | SetCloseWhenOverlayClicked (this uDialog uDialog, bool close=true) |
| Specify whether or not this uDialog should close when the screen overlay is clicked (Only applicable to modal dialogs) More...
|
|
static uDialog | SetOnShowSound (this uDialog uDialog, AudioClip onShowSound) |
| Specify the sound to be played when this uDialog is shown. More...
|
|
static uDialog | SetOnCloseSound (this uDialog uDialog, AudioClip onCloseSound) |
| Specify the sound to be played when this uDialog is closed. More...
|
|
static uDialog | SetOnButtonClickSound (this uDialog uDialog, AudioClip onButtonClickSound) |
| Specify the sound to be played when any of this uDialogs buttons are clicked. More...
|
|
static uDialog | SetAudioVolume (this uDialog uDialog, float audioVolume) |
| Set the audio volume for all sounds played by this uDialog. More...
|
|
static uDialog | SetAudioMixerGroup (this uDialog uDialog, UnityEngine.Audio.AudioMixerGroup audioMixerGroup) |
| Set the AudioMixerGroup to be used by this uDialog - this is completely optional, but can be used so that you can assign this uDialog to a Mixer Group for volume control. More...
|
|
static uDialog | SetIconSize (this uDialog uDialog, float iconSize) |
| Set the size of the icon used by this uDialog. More...
|
|
static uDialog | SetAllowDraggingViaTitle (this uDialog uDialog, bool allowDragging=true) |
| Specify whether or not this uDialog can be dragged by its title. More...
|
|
static uDialog | SetAllowDraggingViaDialog (this uDialog uDialog, bool allowDragging=true) |
| Specify whether or not this uDialog can be dragged from anywhere. More...
|
|
static uDialog | SetAllowDragging (this uDialog uDialog, bool allowDraggingViaTitle=true, bool allowDraggingViaDialog=true) |
| Specify whether or not this uDialog can be dragged by its title and/or the rest of the dialog. More...
|
|
static uDialog | SetResizeableFromDirection (this uDialog uDialog, eResizeDirection direction, bool resizeable=true) |
| Specify whether or not this uDialog is resizeable from a specific direction. More...
|
|
static uDialog | SetResizeable (this uDialog uDialog, bool fromRight=true, bool fromBottom=true, bool fromLeft=false) |
| Specify whether or not this uDialog is resizeable from the right, bottom, and left sides. More...
|
|
static uDialog | SetMinSize (this uDialog uDialog, Vector2 newSize) |
| Set the minimum size of this uDialog when resizing. More...
|
|
static uDialog | SetMinSize (this uDialog uDialog, float minX, float minY) |
| Set the minimum size of this uDialog when resizing. More...
|
|
static uDialog | SetMaxSize (this uDialog uDialog, Vector2 newSize) |
| Set the maximum size of this uDialog when resizing. More...
|
|
static uDialog | SetMaxSize (this uDialog uDialog, float maxX, float maxY) |
| Set the maximum size of this uDialog when resizing. More...
|
|
static uDialog | SetContent (this uDialog uDialog, RectTransform contentTransform, float?preferredHeight=null, ePreviousContentAction previousContentAction=ePreviousContentAction.Nothing) |
| Set the content of this uDialog window - primarily used to add custom content that doesn't fit into the standard icon/message/button layout. More...
|
|
static uDialog | SetRestrictDraggingToParentBounds (this uDialog uDialog, bool restrict=true) |
| Specify whether or not this uDialog should be clamped within the bounds of its parent. If this is set to false, it is possible to drag the uDialog outside of its parent or even off-screen. More...
|
|
static uDialog | SetTriggerOnClickEventWhenOverlayClicked (this uDialog uDialog, bool trigger=true) |
|
static uDialog | SetFocusedButton (this uDialog uDialog, uDialog_Button button) |
|
static uDialog | SetFocusedButton (this uDialog uDialog, string buttonText) |
|