Documentation

Unity Engine


Unity Engine


GetSharedComponentDataUnmanaged<T>(SharedComponentTypeHandle<T>)

Obsolete. Use ArchetypeChunk.GetSharedComponent instead.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
Warning
Removed. Use GetSharedComponent
public T GetSharedComponentDataUnmanaged<T>(SharedComponentTypeHandle<T> chunkSharedComponentData) where T : unmanaged, ISharedComponentData

Parameters

chunkSharedComponentData

An object containing type and job safety information. To create this object, call ComponentSystemBase.GetSharedComponentTypeHandle.

Returns

Type

Description

TThe shared component value.