I have a variable defined as:
Generate<IResource> generation = FindComponent<Generate<IResource>>();
Which finds the first component of this type.
But i need to now get the type of IResource from the variable generation
so i know what resource is in use. But i am not sure how to obtain it from the variable. Is this possible?