Show / Hide Table of Contents

Class TextDecorator

Class for decorating arbitrary strings for UnityEngine.UI.Text

Inheritance
Object
TextDecorator
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Pixiv.VroidSdk.Decorator
Assembly: VRoidSDK.dll
Syntax
public sealed class TextDecorator

Constructors

TextDecorator(String)

Constructor

Declaration
public TextDecorator(string baseText)
Parameters
Type Name Description
String baseText

Decoration target text

Properties

Text

Get decoration result text

Declaration
public string Text { get; }
Property Value
Type Description
String

Decorated text

Methods

Bold()

Make bold

Declaration
public TextDecorator Bold()
Returns
Type Description
TextDecorator

Decorator after decoration

Color(String)

Add color to string with color code

Declaration
public TextDecorator Color(string colorKey)
Parameters
Type Name Description
String colorKey

Color code

Returns
Type Description
TextDecorator

Post-decoration decorator

In This Article
Back to top Generated by DocFX