C# Class MessageList, webrtcnetwork

Inheritance: System.Web.UI.Page
Exibir arquivo Open project: devluz/webrtcnetwork Class Usage Examples

Public Properties

Property Type Description
uEntryPrefab GameObject,

Public Methods

Method Description
AddTextEntry ( string text ) : void

Allows the Chatapp to add new entires to the list

Private Methods

Method Description
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

Method Details

AddTextEntry() public method

Allows the Chatapp to add new entires to the list
public AddTextEntry ( string text ) : void
text string Text to be added
return void

Property Details

uEntryPrefab public_oe property

References to the "Text" prefab. Needs to contain RectTransform and Text element.
public GameObject, uEntryPrefab
return GameObject,