Skip to content

A simple extension method for Unity to shuffle lists randomly

License

Notifications You must be signed in to change notification settings

repl-games/Unity-Shuffle-CSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Shuffle Lists in C# in Unity

Shuffle takes a List<T> and randomly shuffles it in place

Sprite cardDeck = new List<Sprite>(52);
cardDeck.Shuffle();

About

A simple extension method for Unity to shuffle lists randomly

Topics

Resources

License

Stars

Watchers

Forks

Languages