rename no-parameter Get to GetSingleton
parent
323fb0e209
commit
42113f882c
|
@ -42,7 +42,7 @@ public abstract class EntityComponentReader
|
||||||
return ref ComponentDepot.Get<TComponent>(entity.ID);
|
return ref ComponentDepot.Get<TComponent>(entity.ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ref readonly TComponent Get<TComponent>() where TComponent : struct
|
protected ref readonly TComponent GetSingleton<TComponent>() where TComponent : struct
|
||||||
{
|
{
|
||||||
return ref ComponentDepot.Get<TComponent>();
|
return ref ComponentDepot.Get<TComponent>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue