Table of Contents

Class HUDLocalizedText

Namespace
Root
Assembly
SPZGameAssembly.dll
[RequireComponent(typeof(TMP_Text))]
[DisallowMultipleComponent]
public class HUDLocalizedText : HUDComponent
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
HUDLocalizedText
Inherited Members
Extension Methods

Constructors

HUDLocalizedText()

public HUDLocalizedText()

Properties

Alignment

public TextAlignmentOptions Alignment { set; }

Property Value

TextAlignmentOptions

Color

public Color Color { get; set; }

Property Value

Color

FontSize

public float FontSize { set; }

Property Value

float

IsRotatedVertical

public bool IsRotatedVertical { set; }

Property Value

bool

Text

public IText Text { set; }

Property Value

IText

TextStyleProvider

public ITextStyleProvider TextStyleProvider { set; }

Property Value

ITextStyleProvider

Methods

AddLinkClickHandler(Action<string>, Camera)

public void AddLinkClickHandler(Action<string> handler, Camera targetCamera)

Parameters

handler Action<string>
targetCamera Camera

GetPreferredValues(float, float)

public Vector2 GetPreferredValues(float w, float h)

Parameters

w float
h float

Returns

Vector2

OnDispose()

protected override void OnDispose()