C#C
C#3y ago
nut

❔ template function cant convert despite constraint

hi, so im working on a basic ECS kind of thing for my game, and im trying to make a method that returns a list<T> given a T, where T is a component. for some reason, it cant convert T to component despite the constraint that T will always be a component
image.png
Was this page helpful?