IComponentReader.OnRead_T_(T,Entity).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Serialization.IComponentReader

IComponentReader.OnRead(T, Entity) Method

Processes the component of type T.

void OnRead<T>(in T component, in DefaultEcs.Entity componentOwner);

Type parameters

T

The type of component.

Parameters

component T

The component.

componentOwner Entity

The owner of the component instance, in case it is used by multiple Entity.

Contents

  1. 0.1DefaultEcs.Serialization.IComponentReader
  2. 1IComponentReader.OnRead(T, Entity) Method