Pikay421
❔ Getting Inherited Generic-Typed Inner Classes With Reflection
If I have a class layout like this... By the way the Vector3Int type is from Unity but just know that its axes can be indexed like shown below
How would I use reflection to get an array of the "Add" and "Subtract" classes specifically dervied from Vector3IntOperator? I've tried doing this but it doesn't seem to work... (This bit uses some linq aswell)
8 replies