[Unity Tip] Use LINQ to quickly shuffle a List! (Patreon)
Published:
2023-01-10 09:29:11
Imported:
2026-06
haven't archived this post yet. have a subscription? use the importer!
Downloads
Missing 1 file, as this post has not yet been imported.
Content
If you need to 𝗦𝗵𝘂𝗳𝗳𝗹𝗲 / 𝗥𝗮𝗻𝗱𝗼𝗺𝗶𝘇𝗲 a list of items you can use 𝗟𝗜𝗡𝗤! 🙂👍
Ex: gameCards.𝗢𝗿𝗱𝗲𝗿𝗕𝘆(card => 𝗚𝘂𝗶𝗱.𝗡𝗲𝘄𝗚𝘂𝗶𝗱())
Just remember that it 𝗿𝗲𝘁𝘂𝗿𝗻𝘀 a new shuffled collection! 😉