You can format strings with shared components or shared data and show on Unity text components.
-
Add AXRPText component to a text object. The text components below are supported :

- UnityEngine.TextMesh
- UnityEngine.UI.Text
- TMPro.TMP_Text
- TMPro.TextMeshProUGUI
-
Set the string with format items to Format. The way how to format is syntactically similar to String.Format in C# .NET except alignment is not supported. The syntax of format item is below.
{[index][:formatString]}
- If index is omitted, it is equal to the zero-based index of the sequence of index-omitted format items.
- Currently the below components are available as arguments.
- AXRPSharedBool/Int/Float/String
- AXRPVideoPlayer, AXRPPlayableDirector
- formatString
time : the current playback time of Video Player or Playable Director
Getting Started
System Requirements
Quick Start
Explore Demo Scene
Programming Guide
Create Avatar
Set Places
Handle Player Input
Share Animator
Share Video Player
Share Timeline
Share Audio Source
Share Game Object Movement
Share Data
Show Data
Create Trigger Volume
Show Game Object To Only Some Players
Instantiate From Prefab
Move Between Scenes
Make Display
Programming Guide In Depth
onAirXR Playground Technical Overview
Avatar & Avatar Selector