C# Class DialogBox, UnityFramework

Inheritance: MonoBehaviour
显示文件 Open project: meta-42/uEasyKit Class Usage Examples

Public Properties

Property Type Description
Templates UITemplates

Public Methods

Method Description
Close ( ) : bool
Hide ( ) : void

Hide DialogBox

Show ( DialogActions buttons = null, string title = null, string message = null, string focusButton = null, Vector3 position = null, Sprite icon = null, bool modal = true, Sprite modalSprite = null, Color modalColor = null, Canvas canvas = null, bool autoHide = false ) : void

Show DialogBox

Template ( string template ) : DialogBox,

Private Methods

Method Description
Awake ( ) : void
CreateButtons ( DialogActions buttons, string focusButton ) : void
CreateObject ( ) : void
DeactivateButtons ( ) : void
GetButton ( ) : Button,
HideAuto ( ) : IEnumerator
OnDestroy ( ) : void
ResetParametres ( ) : void
Return ( ) : void

Method Details

Close() public static method

public static Close ( ) : bool
return bool

Hide() public method

Hide DialogBox
public Hide ( ) : void
return void

Show() public method

Show DialogBox
public Show ( DialogActions buttons = null, string title = null, string message = null, string focusButton = null, Vector3 position = null, Sprite icon = null, bool modal = true, Sprite modalSprite = null, Color modalColor = null, Canvas canvas = null, bool autoHide = false ) : void
buttons DialogActions
title string
message string
focusButton string
position Vector3
icon Sprite
modal bool
modalSprite Sprite
modalColor Color
canvas Canvas
autoHide bool
return void

Template() public static method

public static Template ( string template ) : DialogBox,
template string
return DialogBox,

Property Details

Templates public_oe static_oe property

public static UITemplates Templates
return UITemplates