uDialog  1.07
uDialog_Fluent Class Reference

Static Public Member Functions

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)
 

Member Function Documentation

static uDialog uDialog_Fluent.AddButton ( this uDialog  uDialog,
uDialog_Button_Data  button,
bool  showButtons = true,
bool  focusThisButton = false 
)
static

Add a new button to this uDialog.

Parameters
uDialog
button
showButtons
Returns
static uDialog uDialog_Fluent.AddButton ( this uDialog  uDialog,
string  buttonText,
UnityAction  buttonAction,
bool  showButtons = true,
bool  focusThisButton = false 
)
static

Add a new button to this uDialog.

Parameters
uDialog
buttonText
buttonAction
showButtons
Returns
static uDialog uDialog_Fluent.AddButton ( this uDialog  uDialog,
string  buttonText,
UnityAction< uDialog buttonAction,
bool  showButtons = true,
bool  focusThisButton = false 
)
static

Add a new button to this uDialog.

Parameters
uDialog
buttonText
buttonAction
showButtons
Returns
static uDialog uDialog_Fluent.AddButton ( this uDialog  uDialog,
string  buttonText,
UnityAction< uDialog, uDialog_Button_Data buttonAction,
bool  showButtons = true,
bool  focusThisButton = false 
)
static

Add a new button to this uDialog. Will automatically call button.Update() after buttonAction is complete to carry over any changes to the button.

Parameters
uDialog
buttonText
buttonAction
showButtons
Returns
static uDialog uDialog_Fluent.AddOnClickEvent ( this uDialog  uDialog,
UnityAction< uDialog onClickEvent 
)
static

Add an event to be triggered when this uDialog is clicked.

Parameters
uDialog
onClickEvent
Returns
static uDialog uDialog_Fluent.AddOnClickEvent ( this uDialog  uDialog,
UnityAction  onClickEvent 
)
static

Add an event to be triggered when this uDialog is clicked.

Parameters
uDialog
onClickEvent
Returns
static uDialog uDialog_Fluent.AddOnCloseEvent ( this uDialog  uDialog,
UnityAction< uDialog onCloseEvent 
)
static

Add an event to be triggered when this uDialog is closed.

Parameters
uDialog
onCloseEvent
Returns
static uDialog uDialog_Fluent.AddOnCloseEvent ( this uDialog  uDialog,
UnityAction  onCloseEvent 
)
static

Add an event to be triggered when this uDialog is closed.

Parameters
uDialog
onCloseEvent
Returns
static uDialog uDialog_Fluent.AddOnMaximizeEvent ( this uDialog  uDialog,
UnityAction< uDialog onMaximizeEvent 
)
static
static uDialog uDialog_Fluent.AddOnMaximizeEvent ( this uDialog  uDialog,
UnityAction  onMaximizeEvent 
)
static
static uDialog uDialog_Fluent.AddOnMinimizeEvent ( this uDialog  uDialog,
UnityAction< uDialog onMinimizeEvent 
)
static
static uDialog uDialog_Fluent.AddOnMinimizeEvent ( this uDialog  uDialog,
UnityAction  onMinimizeEvent 
)
static
static uDialog uDialog_Fluent.AddOnShowEvent ( this uDialog  uDialog,
UnityAction< uDialog onShowEvent 
)
static

Add an event to be triggered when this uDialog is shown.

Parameters
uDialog
onShowEvent
Returns
static uDialog uDialog_Fluent.AddOnShowEvent ( this uDialog  uDialog,
UnityAction  onShowEvent 
)
static

Add an event to be triggered when this uDialog is shown.

Parameters
uDialog
onShowEvent
Returns
static uDialog uDialog_Fluent.AddToTaskBar ( this uDialog  uDialog,
uDialog_TaskBar  taskBar,
bool  isActive = true 
)
static

Add this uDialog window to a uDialog_TaskBar

Parameters
uDialog
taskBar
isActive
Returns
static uDialog uDialog_Fluent.ClearButtons ( this uDialog  uDialog)
static

Remove all buttons from this uDialog.

Parameters
uDialog
Returns
static bool uDialog_Fluent.SaveCurrentColorScheme ( this uDialog  uDialog,
string  colorSchemeName 
)
static

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

Parameters
uDialog
colorSchemeName
Returns
True if the save was successful, false otherwise
static uDialog uDialog_Fluent.SetAllowDragging ( this uDialog  uDialog,
bool  allowDraggingViaTitle = true,
bool  allowDraggingViaDialog = true 
)
static

Specify whether or not this uDialog can be dragged by its title and/or the rest of the dialog.

Parameters
uDialog
allowDraggingViaTitle
allowDraggingViaDialog
Returns
static uDialog uDialog_Fluent.SetAllowDraggingViaDialog ( this uDialog  uDialog,
bool  allowDragging = true 
)
static

Specify whether or not this uDialog can be dragged from anywhere.

Parameters
uDialog
allowDragging
Returns
static uDialog uDialog_Fluent.SetAllowDraggingViaTitle ( this uDialog  uDialog,
bool  allowDragging = true 
)
static

Specify whether or not this uDialog can be dragged by its title.

Parameters
uDialog
allowDragging
Returns
static uDialog uDialog_Fluent.SetAudioMixerGroup ( this uDialog  uDialog,
UnityEngine.Audio.AudioMixerGroup  audioMixerGroup 
)
static

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.

Parameters
uDialog
audioMixerGroup
Returns
static uDialog uDialog_Fluent.SetAudioVolume ( this uDialog  uDialog,
float  audioVolume 
)
static

Set the audio volume for all sounds played by this uDialog.

Parameters
uDialog
audioVolume
Returns
static uDialog uDialog_Fluent.SetAutoClose ( this uDialog  uDialog,
bool  autoClose = true,
float  autoCloseTime = 10f 
)
static

Specify whether or not this uDialog should automatically close on its own after a specified duration.

Parameters
uDialog
autoClose
autoCloseTime
Returns
static uDialog uDialog_Fluent.SetButtonFont ( this uDialog  uDialog,
Font  font 
)
static

Set the font used by the buttons.

Parameters
uDialog
font
Returns
static uDialog uDialog_Fluent.SetButtonFontSize ( this uDialog  uDialog,
int  newSize 
)
static

Set the font size used by the buttons.

Parameters
uDialog
newSize
Returns
static uDialog uDialog_Fluent.SetButtonFontSize ( this uDialog  uDialog,
int  minSize,
int  maxSize 
)
static

Set the font size used by the buttons - they will use standard 'resizeTextForBestFit' behaviour between minSize and maxSize

Parameters
uDialog
minSize
maxSize
Returns
static uDialog uDialog_Fluent.SetButtonFontStyle ( this uDialog  uDialog,
FontStyle  newStyle 
)
static

Set the font style used by the buttons.

Parameters
uDialog
newStyle
Returns
static uDialog uDialog_Fluent.SetButtons ( this uDialog  uDialog,
bool  showButtons,
params uDialog_Button_Data[]  buttons 
)
static

Set the buttons for this uDialog (replacing any existing buttons)

Parameters
uDialog
showButtons
buttons
Returns
static uDialog uDialog_Fluent.SetButtons ( this uDialog  uDialog,
params uDialog_Button_Data[]  buttons 
)
static

Set the buttons for this uDialog (replacing any existing buttons)

Parameters
uDialog
buttons
Returns
static uDialog uDialog_Fluent.SetButtonSize ( this uDialog  uDialog,
float  width,
float  height 
)
static
static uDialog uDialog_Fluent.SetButtonTextEffect ( this uDialog  uDialog,
eTextEffect  newEffect 
)
static

Set the text effect used by the buttons.

Parameters
uDialog
newEffect
Returns
static uDialog uDialog_Fluent.SetCloseAnimation ( this uDialog  uDialog,
eCloseAnimation  closeAnimation 
)
static

Specify the animation to be used when this uDialog is closed.

Parameters
uDialog
closeAnimation
Returns
static uDialog uDialog_Fluent.SetCloseWhenAnyButtonClicked ( this uDialog  uDialog,
bool  closeWhenAnyButtonClicked = true 
)
static

Specify whether or not this uDialog should close when any of its buttons are clicked.

Parameters
uDialog
closeWhenAnyButtonClicked
Returns
static uDialog uDialog_Fluent.SetCloseWhenClicked ( this uDialog  uDialog,
bool  closeWhenClicked = true 
)
static

Specify whether or not this uDialog should close when it is clicked (anywhere)

Parameters
uDialog
closeWhenClicked
Returns
static uDialog uDialog_Fluent.SetCloseWhenOverlayClicked ( this uDialog  uDialog,
bool  close = true 
)
static

Specify whether or not this uDialog should close when the screen overlay is clicked (Only applicable to modal dialogs)

Parameters
uDialog
close
Returns
static uDialog uDialog_Fluent.SetColorScheme ( this uDialog  uDialog,
string  newColorScheme 
)
static

Set the Color Scheme used by this uDialog.

Parameters
uDialog
newColorScheme
Returns
static uDialog uDialog_Fluent.SetContent ( this uDialog  uDialog,
RectTransform  contentTransform,
float?  preferredHeight = null,
ePreviousContentAction  previousContentAction = ePreviousContentAction.Nothing 
)
static

Set the content of this uDialog window - primarily used to add custom content that doesn't fit into the standard icon/message/button layout.

Parameters
uDialog
contentTransform
Returns
static uDialog uDialog_Fluent.SetContentFont ( this uDialog  uDialog,
Font  newFont,
int?  newSize = null,
FontStyle?  newStyle = null,
eTextEffect newEffect = null 
)
static

Set the font, size, style, and effect of the content font.

Parameters
uDialog
newFont
newSize
newStyle
newEffect
Returns
static uDialog uDialog_Fluent.SetContentFontSize ( this uDialog  uDialog,
int  newSize 
)
static

Set the size of the content font.

Parameters
uDialog
newSize
Returns
static uDialog uDialog_Fluent.SetContentFontSize ( this uDialog  uDialog,
int  minSize,
int  maxSize 
)
static

Set the size of the content font - it will use standard 'resizeTextForBestFit' behaviour between minSize and maxSize

Parameters
uDialog
minSize
maxSize
Returns
static uDialog uDialog_Fluent.SetContentFontStyle ( this uDialog  uDialog,
FontStyle  newStyle 
)
static

Set the style of the content font.

Parameters
uDialog
newStyle
Returns
static uDialog uDialog_Fluent.SetContentText ( this uDialog  uDialog,
string  text 
)
static

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)

Parameters
uDialog
text
Returns
static uDialog uDialog_Fluent.SetContentTextEffect ( this uDialog  uDialog,
eTextEffect  newEffect 
)
static

Set the text effect used by the content text.

Parameters
uDialog
newEffect
Returns
static uDialog uDialog_Fluent.SetCustomColorScheme ( this uDialog  uDialog,
uDialog_ColorScheme  newColorScheme 
)
static

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.

Parameters
uDialog
newColorScheme
Returns
static uDialog uDialog_Fluent.SetDestroyAfterClose ( this uDialog  uDialog,
bool  destroyAfterClose = true 
)
static

Specify whether or not this uDialog should be destroyed after closing.

Parameters
uDialog
destroyAfterClose
Returns
static uDialog uDialog_Fluent.SetDimensions ( this uDialog  uDialog,
float  width,
float  height 
)
static

Set the width and height of this uDialog.

Parameters
uDialog
width
height
Returns
static uDialog uDialog_Fluent.SetFocusedButton ( this uDialog  uDialog,
uDialog_Button  button 
)
static
static uDialog uDialog_Fluent.SetFocusedButton ( this uDialog  uDialog,
string  buttonText 
)
static
static uDialog uDialog_Fluent.SetHeight ( this uDialog  uDialog,
float  height 
)
static

Set the height of this uDialog.

Parameters
uDialog
height
Returns
static uDialog uDialog_Fluent.SetIcon ( this uDialog  uDialog,
eIconType  iconType 
)
static

Set the Icon Type of this uDialog.

Parameters
uDialog
iconType
Returns
static uDialog uDialog_Fluent.SetIcon ( this uDialog  uDialog,
Sprite  newIcon 
)
static

Set a specific sprite as the icon for this uDialog.

Parameters
uDialog
newIcon
Returns
static uDialog uDialog_Fluent.SetIconSize ( this uDialog  uDialog,
float  iconSize 
)
static

Set the size of the icon used by this uDialog.

Parameters
uDialog
iconSize
Returns
static uDialog uDialog_Fluent.SetMaxSize ( this uDialog  uDialog,
Vector2  newSize 
)
static

Set the maximum size of this uDialog when resizing.

Parameters
uDialog
newSize
Returns
static uDialog uDialog_Fluent.SetMaxSize ( this uDialog  uDialog,
float  maxX,
float  maxY 
)
static

Set the maximum size of this uDialog when resizing.

Parameters
uDialog
maxX
maxY
Returns
static uDialog uDialog_Fluent.SetMinSize ( this uDialog  uDialog,
Vector2  newSize 
)
static

Set the minimum size of this uDialog when resizing.

Parameters
uDialog
newSize
Returns
static uDialog uDialog_Fluent.SetMinSize ( this uDialog  uDialog,
float  minX,
float  minY 
)
static

Set the minimum size of this uDialog when resizing.

Parameters
uDialog
minX
minY
Returns
static uDialog uDialog_Fluent.SetModal ( this uDialog  uDialog,
bool  modal = true,
bool  closeWhenOverlayIsClicked = false 
)
static

Specify whether or not this uDialog should be modal. If the uDialog is modal, the Screen Overlay will be shown.

Parameters
uDialog
modal
closeWhenOverlayIsClicked
Returns
static uDialog uDialog_Fluent.SetOnButtonClickSound ( this uDialog  uDialog,
AudioClip  onButtonClickSound 
)
static

Specify the sound to be played when any of this uDialogs buttons are clicked.

Parameters
uDialog
onButtonClickSound
Returns
static uDialog uDialog_Fluent.SetOnCloseSound ( this uDialog  uDialog,
AudioClip  onCloseSound 
)
static

Specify the sound to be played when this uDialog is closed.

Parameters
uDialog
onCloseSound
Returns
static uDialog uDialog_Fluent.SetOnShowSound ( this uDialog  uDialog,
AudioClip  onShowSound 
)
static

Specify the sound to be played when this uDialog is shown.

Parameters
uDialog
onShowSound
Returns
static uDialog uDialog_Fluent.SetOutlineMode ( this uDialog  uDialog,
eOutlineMode  outlineMode 
)
static

Set the Outline Mode used by this uDialog (Shadow / Glow / None)

Parameters
uDialog
outlineMode
Returns
static uDialog uDialog_Fluent.SetParent ( this uDialog  uDialog,
RectTransform  parent 
)
static

Set the parent of this uDialog (e.g. so that it can be contained within another RectTransform)

Parameters
uDialog
parent
Returns
static uDialog uDialog_Fluent.SetParent ( this uDialog  uDialog,
GameObject  parent 
)
static

Set the parent of this uDialog (e.g. so that it can be contained within another RectTransform)

Parameters
uDialog
parent
Returns
static uDialog uDialog_Fluent.SetResizeable ( this uDialog  uDialog,
bool  fromRight = true,
bool  fromBottom = true,
bool  fromLeft = false 
)
static

Specify whether or not this uDialog is resizeable from the right, bottom, and left sides.

Parameters
uDialog
fromRight
fromBottom
fromLeft
Returns
static uDialog uDialog_Fluent.SetResizeableFromDirection ( this uDialog  uDialog,
eResizeDirection  direction,
bool  resizeable = true 
)
static

Specify whether or not this uDialog is resizeable from a specific direction.

Parameters
uDialog
direction
resizeable
Returns
static uDialog uDialog_Fluent.SetRestrictDraggingToParentBounds ( this uDialog  uDialog,
bool  restrict = true 
)
static

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.

Parameters
uDialog
restrict
Returns
static uDialog uDialog_Fluent.SetShowAnimation ( this uDialog  uDialog,
eShowAnimation  showAnimation 
)
static

Set the animation to be used when this uDialog is shown.

Parameters
uDialog
showAnimation
Returns
static uDialog uDialog_Fluent.SetShowButtons ( this uDialog  uDialog,
bool  showButtons = true 
)
static

Specify whether or not this uDialog should show any buttons.

Parameters
uDialog
showButtons
Returns
static uDialog uDialog_Fluent.SetShowTitle ( this uDialog  uDialog,
bool  showTitle = true 
)
static

Should this uDialog show a title?

Parameters
uDialog
showTitle
Returns
static uDialog uDialog_Fluent.SetShowTitleCloseButton ( this uDialog  uDialog,
bool  showTitleCloseButton = true 
)
static

Should this uDialog show a close button on the title?

Parameters
uDialog
showTitleCloseButton
Returns
static uDialog uDialog_Fluent.SetShowTitleMinimizeButton ( this uDialog  uDialog,
bool  showTitleMinimizeButton = true 
)
static

Should this uDialog show a minimize button on the title?

Parameters
uDialog
showTitleCloseButton
Returns
static uDialog uDialog_Fluent.SetThemeImageSet ( this uDialog  uDialog,
eThemeImageSet  imageSet 
)
static

Set the Theme Image Set used by this uDialog.

Parameters
uDialog
imageSet
Returns
static uDialog uDialog_Fluent.SetTitleFont ( this uDialog  uDialog,
Font  newFont,
int?  newSize = null,
FontStyle?  newStyle = null,
eTextEffect newEffect = null 
)
static

Set the font, size, style, and effect of the title text.

Parameters
uDialog
newFont
newSize
newStyle
newEffect
Returns
static uDialog uDialog_Fluent.SetTitleFontSize ( this uDialog  uDialog,
int  newSize 
)
static

Set the size of the title font.

Parameters
uDialog
newSize
Returns
static uDialog uDialog_Fluent.SetTitleFontSize ( this uDialog  uDialog,
int  minSize,
int  maxSize 
)
static

Set the size of the title font - it will use standard 'resizeTextForBestFit' behaviour between minSize and maxSize

Parameters
uDialog
minSize
maxSize
Returns
static uDialog uDialog_Fluent.SetTitleFontStyle ( this uDialog  uDialog,
FontStyle  newStyle 
)
static

Set the style of the title font.

Parameters
uDialog
newStyle
Returns
static uDialog uDialog_Fluent.SetTitleText ( this uDialog  uDialog,
string  title,
bool  dontSetName = false 
)
static

Sets the title text of this uDialog.

Parameters
uDialog
title
dontSetName
Returns
static uDialog uDialog_Fluent.SetTitleTextEffect ( this uDialog  uDialog,
eTextEffect  newEffect 
)
static

Set the text effect used by the title text.

Parameters
uDialog
newEffect
Returns
static uDialog uDialog_Fluent.SetTriggerOnClickEventWhenOverlayClicked ( this uDialog  uDialog,
bool  trigger = true 
)
static
static uDialog uDialog_Fluent.SetVisibleOnStart ( this uDialog  uDialog,
bool  visibleOnStart = true 
)
static

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.

Parameters
uDialog
visibleOnStart
Returns
static uDialog uDialog_Fluent.SetWidth ( this uDialog  uDialog,
float  width 
)
static

Set the width of this uDialog.

Parameters
uDialog
width
Returns

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