SetSharedComponent<T>(Entity, T)
Sets the value of a shared component of an entity.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static void SetSharedComponent<T>(Entity entity, T componentData) where T : unmanaged, ISharedComponentData
Parameters
Remarks
This is a structural change.