Method GetSharedComponentTypeHandle
GetSharedComponentTypeHandle<T>()
Manually gets the run-time type information required to access a shared component data in a chunk.
Declaration
public SharedComponentTypeHandle<T> GetSharedComponentTypeHandle<T>() where T : struct, ISharedComponentDataReturns
| Type | Description | 
|---|---|
| SharedComponentTypeHandle<T> | An object representing the type information required to safely access shared component data stored in a chunk. | 
Type Parameters
| Name | Description | 
|---|---|
| T | A struct that implements ISharedComponentData. | 
Remarks
Remember to call Update(SystemBase).