SetSingleton<T>(T)
Sets the value of a singleton component.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void SetSingleton<T>(T value) where T : unmanaged, IComponentData
Parameters
Remarks
Additional Resources: EntityQuery.SetSingleton