Royalties on manufacturing

Haha I was afraid there would be a term for it, I will definitely not seek getting paid by the manufacturer. How are royalties usually set up with a client? Is a percentage of the wholesale unit cost, or percentage of unit sold? Hope this doesnt make me sound shady for asking!!!

Thanks Scott