rename no-parameter Get to GetSingleton

pull/1/head
cosmonaut 2022-03-31 19:55:01 -07:00
parent 323fb0e209
commit 42113f882c
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public abstract class EntityComponentReader
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>();
}