mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2024-11-25 16:18:56 +08:00
Entity.All tweak
This commit is contained in:
parent
671e25f7ce
commit
ed35a605fc
|
@ -75,7 +75,7 @@ namespace Strawberry
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<T> All<T>(List<T> into) where T : Component
|
public ICollection<T> All<T>(ICollection<T> into) where T : Component
|
||||||
{
|
{
|
||||||
for (let c in components)
|
for (let c in components)
|
||||||
if (c is T)
|
if (c is T)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user