Notifications
Clear all
0
24/09/2025 10:01 上午
Topic starter
文字怎么生成ECS对象;
用text或者textmeshpro创建的prefab在运行时mesh都会丢失
1 Answer
0
24/09/2025 10:29 上午
Topic starter
万人同屏插件支持GameObject混合使用,Text、TextMeshPro均可以GameObject形式使用,位置同步只需获取ECS单位的位置这是给GameObject的Transform.position. ECS单位位置可以通过rvoAgent.pos得到rvo的位置。也可以通过ECSGraphicsComponent.Instance.GetPosition()获取指定entity的位置