Skip to content

TextStudioReactionUIParticle

StructTextStudioTextStudio
public readonly struct TextStudioReactionUIParticle

One particle in the active UI renderer’s local units relative to an event anchor.

public readonly Vector2 Offset

Returns

UnityEngine.Vector2

public readonly float Size

Returns

System.Single

public readonly Color32 Color

Returns

UnityEngine.Color32

TextStudioReactionUIParticle(Vector2, float, Color32)

Section titled “TextStudioReactionUIParticle(Vector2, float, Color32)”
public TextStudioReactionUIParticle(Vector2 offset, float size, Color32 color)

Creates one UI particle with a local offset, size, and color relative to its event anchor.

Parameters

Name Type
offset UnityEngine.Vector2
size System.Single
color UnityEngine.Color32