here is what im trying to do,
someClass object = new someClass();
Type a=object.GetType();
a someOtherObject =new a();
but the variable a can't be used in place of someClass even though i saved it as a type. I was wondering if there is an alternative method of doing something like this.
As for the why, i want to make a method that takes in a list of monster in my game and it picks a random one, creates a new object out of the one it has chosen and adds it to a seperate list.