C# Класс MessageList, webrtcnetwork

Наследование: System.Web.UI.Page
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
uEntryPrefab GameObject,

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

Метод Описание
AddTextEntry ( string text ) : void

Allows the Chatapp to add new entires to the list

Приватные методы

Метод Описание
AddRectTransform ( RectTransform rect ) : void

Adds the new element

Awake ( ) : void
Refresh ( ) : void

Destroys old messages if needed and repositions the existing messages.

SetPosition ( RectTransform tra, float &position ) : void

Positions a single element

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

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

Allows the Chatapp to add new entires to the list
public AddTextEntry ( string text ) : void
text string Text to be added
Результат void

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

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

References to the "Text" prefab. Needs to contain RectTransform and Text element.
public GameObject, uEntryPrefab
Результат GameObject,