using System.Collections; using System.Collections.Generic; using UnityEngine; namespace WSMGameStudio.RailroadSystem { public static class Probability { /// /// Random event lottery /// /// /// public static bool RandomEvent(int randomProbability) { return Random.Range(1, 101) <= randomProbability; } } }