Struct Words
Namespace: Unity.Collections
Syntax
public struct Words
Remarks
A "Words" is an integer that refers to 4,096 or fewer chars of UTF-16 text in a global storage blob. Each should refer to at most about one printed page of text.
If you need more text, consider using one Words struct for each printed page's worth.
Each Words instance that you create is stored in a single, internally-managed WordStorage object, which can hold up to 16,384 Words entries. Once added, the entries in WordStorage cannot be modified or removed.
Methods
SetString(String)
Declaration
public void SetString(string value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
ToNativeStringView()
Declaration
public NativeStringView ToNativeStringView()
Returns
Type | Description |
---|---|
NativeStringView |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |