跳到主要内容

Class Label

Properties

interval

public float interval { get; set; }

text

public string text { get; set; }

texture

public Texture texture { get; set; }

imageColor

public Color imageColor { get; set; }

image

public Image image { get; }

textElement

public Text textElement { get; }

Methods

void SetContent(LabelContent labelContent)

public void SetContent(LabelContent labelContent)

void SetImageSize(float size)

public void SetImageSize(float size)

void SetImageSize(Vector2 size)

public void SetImageSize(Vector2 size)

void SetImageSize(float width, float height)

public void SetImageSize(float width, float height)

void SetTexture(Texture texture, Color tintColor)

public void SetTexture(Texture texture, Color tintColor)

void SetTexture(Texture texture, float size)

public void SetTexture(Texture texture, float size)

void SetTexture(Texture texture, float size, Color tintColor)

public void SetTexture(Texture texture, float size, Color tintColor)

void SetTexture(Texture texture, float width, float height)

public void SetTexture(Texture texture, float width, float height)

void SetTexture(Texture texture, float width, float height, Color tintColor)

public void SetTexture(Texture texture, float width, float height, Color tintColor)

void SetTexture(Texture texture, Vector2 size, Color tintColor)

public void SetTexture(Texture texture, Vector2 size, Color tintColor)