Catlike Coding
Unity Code Documentation
|
Text style collection. Used by text boxes. More...
Inherits ScriptableObject.
Public Member Functions | |
void | ComputeRendererCount () |
Compute how many different renderers are needed for the style collection. Used in the editor. More... | |
TextRenderer[] | CreateRenderers (TextBox box) |
Create text renderer children for a text box. More... | |
Public Attributes | |
TextStyle[] | styles |
Styles defined by the collection. The first style is the default and should have all values set. More... | |
Text style collection. Used by text boxes.
void CatlikeCoding.TextBox.TextStyleCollection.ComputeRendererCount | ( | ) |
Compute how many different renderers are needed for the style collection. Used in the editor.
TextRenderer [] CatlikeCoding.TextBox.TextStyleCollection.CreateRenderers | ( | TextBox | box | ) |
Create text renderer children for a text box.
box | A text box. |
TextStyle [] CatlikeCoding.TextBox.TextStyleCollection.styles |
Styles defined by the collection. The first style is the default and should have all values set.