C# Class GooglePlayServices.TextAreaDialog

Window which displays a scrollable text area and two buttons at the bottom.
Inheritance: EditorWindow
Afficher le fichier Open project: googlesamples/unity-jar-resolver Class Usage Examples

Méthodes publiques

Свойство Type Description
bodyText string
buttonClicked ButtonClicked
modal bool
noText string
result bool
scrollPosition UnityEngine.Vector2
summaryText string
yesText string

Méthodes publiques

Méthode Description
CreateTextAreaDialog ( string title ) : TextAreaDialog

Get the existing text area window or create a new one.

Initialize ( ) : void

Méthodes protégées

Méthode Description
OnGUI ( ) : void
OnLostFocus ( ) : void

Method Details

CreateTextAreaDialog() public static méthode

Get the existing text area window or create a new one.
public static CreateTextAreaDialog ( string title ) : TextAreaDialog
title string Title to display on the window.
Résultat TextAreaDialog

Initialize() public méthode

public Initialize ( ) : void
Résultat void

OnGUI() protected méthode

protected OnGUI ( ) : void
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( ) : void
Résultat void

Property Details

bodyText public_oe property

Set the text to display in the scrollable text area.
public string bodyText
Résultat string

buttonClicked public_oe property

Delegate called when a button is clicked.
public ButtonClicked buttonClicked
Résultat ButtonClicked

modal public_oe property

Whether this window should be modal. NOTE: This emulates modal behavior by re-acquiring focus when it's lost.
public bool modal
Résultat bool

noText public_oe property

Set the text to display on the "no" (left-most) button.
public string noText
Résultat string

result public_oe property

Result of yes / no button press. true if the "yes" button was pressed, false if the "no" button was pressed. Defaults to "false".
public bool result
Résultat bool

scrollPosition public_oe property

Current position of the scrollbar.
public Vector2,UnityEngine scrollPosition
Résultat UnityEngine.Vector2

summaryText public_oe property

Set the text to display in the summary area of the window.
public string summaryText
Résultat string

yesText public_oe property

Set the text to display on the "yes" (left-most) button.
public string yesText
Résultat string