Hyluss

IEnumerable Take

Apr 18th, 2018
269
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.14 KB | None | 0 0
  1. IEnumerable<GameObject> randomFronts = frontTypes.List.OrderBy (x => Random.value).Take (cardsNum).Select (e => e.frontPrefab as GameObject);
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment