Skip to content

Instantly share code, notes, and snippets.

View lenetid's full-sized avatar
🎯
Focusing

le.net.id lenetid

🎯
Focusing
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 ()