跳到主要内容

文本

为一个实体添加 Screen,为子项添加文本 Element。两者来自 @playcanvas/react/components,字体由 font-tools 创建,并通过 useFont 加载。

演示采用 Source Sans 3,使用 SIL Open Font License。