GameObject GetNewInstanceOfType(string type, Vector3 position) { GenericFactory factory = new GenericFactory(); return(factory.GetNewInstance(type, position)); }