文档

Unity Engine

Unity Engine

SetUnmanagedSharedComponentData<T>(Entity, T)

Obsolete. Use EntityManager.SetSharedComponent instead.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
警告
Removed. Use SetSharedComponent\<T\>
public void SetUnmanagedSharedComponentData<T>(Entity entity, T componentData) where T : unmanaged, ISharedComponentData

Parameters

entity

The entity

componentData

T
An unmanaged shared component object containing the values to set.