C# Класс GooglePlayServices.TextAreaDialog

Window which displays a scrollable text area and two buttons at the bottom.
Наследование: EditorWindow
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
bodyText string
buttonClicked ButtonClicked
modal bool
noText string
result bool
scrollPosition UnityEngine.Vector2
summaryText string
yesText string

Открытые методы

Метод Описание
CreateTextAreaDialog ( string title ) : TextAreaDialog

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

Initialize ( ) : void

Защищенные методы

Метод Описание
OnGUI ( ) : void
OnLostFocus ( ) : void

Описание методов

CreateTextAreaDialog() публичный статический Метод

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.
Результат TextAreaDialog

Initialize() публичный Метод

public Initialize ( ) : void
Результат void

OnGUI() защищенный Метод

protected OnGUI ( ) : void
Результат void

OnLostFocus() защищенный Метод

protected OnLostFocus ( ) : void
Результат void

Описание свойств

bodyText публичное свойство

Set the text to display in the scrollable text area.
public string bodyText
Результат string

buttonClicked публичное свойство

Delegate called when a button is clicked.
public ButtonClicked buttonClicked
Результат ButtonClicked

modal публичное свойство

Whether this window should be modal. NOTE: This emulates modal behavior by re-acquiring focus when it's lost.
public bool modal
Результат bool

noText публичное свойство

Set the text to display on the "no" (left-most) button.
public string noText
Результат string

result публичное свойство

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
Результат bool

scrollPosition публичное свойство

Current position of the scrollbar.
public Vector2,UnityEngine scrollPosition
Результат UnityEngine.Vector2

summaryText публичное свойство

Set the text to display in the summary area of the window.
public string summaryText
Результат string

yesText публичное свойство

Set the text to display on the "yes" (left-most) button.
public string yesText
Результат string