With the right tax structures, it would end up focusing on giving money to lower income individuals. You have an increased progressive taxation structure such that for upper-middle income people the UBI is a wash (IE, someone making $100,000 a year is getting and additional $12,000 from UBI but paying $12,000 more than they would have before).
The reason why UBI works well is because it's a cash handout (like the other person said, you're not specifying the needs of the individual), it's a universal and not means tested program (you don't have to go through a bureaucratic maze every time you become eligible), and it's instantaneous for people who have sudden changes in fortune (IE, the income stream is already set up).