Skip to content

Instantly share code, notes, and snippets.

View FadrikAlexander's full-sized avatar
💭
https://www.youtube.com/Fadrik

Fadrik Alexander FadrikAlexander

💭
https://www.youtube.com/Fadrik
View GitHub Profile
@FadrikAlexander
FadrikAlexander / RandomSeedController.cs
Last active October 9, 2023 05:03
A Simple Random Seed System in Unity C#
/*
Created by: Fadrik Alexander
Full Youtube Tutorial on this Script: https://youtu.be/HVueQ2ikOQc
Please note that the seed should be set before any randomization so this has to be called first
*/
using UnityEngine;
public class RandomSeedController : MonoBehaviour
@FadrikAlexander
FadrikAlexander / ProbabilitiesController.cs
Last active March 14, 2024 06:23
The Ultimate Probability Controller Script for Games in Unity
//Full Youtube Tutorial on this Script: https://youtu.be/84rs2Q0z9ak
//The script doesn't have any kind of Input Validation you should added to the lists before calling the functions
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProbabilitiesController : MonoBehaviour
{
#region Basic Probability check