文档

Unity Engine

Unity Engine

GetDynamicSharedComponentTypeHandle(ComponentType)

Manually gets the run-time type information required to access a shared component data in a chunk.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public DynamicSharedComponentTypeHandle GetDynamicSharedComponentTypeHandle(ComponentType componentType)

Parameters

componentType

The component type to get access to.

Returns

Type

Description

DynamicSharedComponentTypeHandleAn object representing the type information required to safely access shared component data stored in a chunk.

Remarks