Skip to content

Instantly share code, notes, and snippets.

View LockerSmith's full-sized avatar

Anton Tsap LockerSmith

  • Ukraine
View GitHub Profile
@cosmicmonster
cosmicmonster / ShuffleArray.cs
Last active June 25, 2024 09:16
Unity / C# code to shuffle an array using the Fisher-Yates Shuffle.
using UnityEngine;
using System.Collections;
public class ShuffleArray : MonoBehaviour {
// Public so you can fill the array in the inspector
public int[] scenarios;
void Start ()