LocalizedText
From a script
ts
import { LocalizedTextComponent } from "mmpx";
const localizedText = this.entity.TryGetComponent(LocalizedTextComponent);Full API: LocalizedTextComponent.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
Keykey | string | — | A string table key, e.g. menu.play |
Paramsparams | json | {} | Values for {name} placeholders in the text |