Method GetSharedComponentDataIndex
GetSharedComponentDataIndex<T>(Entity)
Declaration
[BurstCompatible(GenericTypeArguments = new Type[]{typeof(BurstCompatibleSharedComponentData)})]
public int GetSharedComponentDataIndex<T>(Entity entity)
where T : struct, ISharedComponentData
Parameters
Type | Name | Description |
---|---|---|
Entity | entity |
Returns
Type | Description |
---|---|
Int32 |
Type Parameters
Name | Description |
---|---|
T |