With this code:
World w = new World();
var data = GetData<World>(w);
If I get w
with reflection and this can be of type World
, Ambient
, Domention
, etc.
How can I get GetData
???
I only have the instance object:
var data = GetData<???>(w);