ドキュメント

Unity Engine

Download Unity

Unity Engine

GetComponentDataRW<T>(Entity)

Gets a read/write reference to a component of an entity.
読み終わるまでの所要時間 1 分最終更新 10日前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static RefRW<T> GetComponentDataRW<T>(Entity entity) where T : unmanaged, IComponentData

Parameters

entity

The entity.

Returns

Type

Description

RefRW<T>A reference to the component, which bumps its change version.