using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 概率管理器 /// public class ProbabilityManager : SingletonManager { /// /// 百分之60概率 /// public bool GetPercent(int value) { return Random.Range(0, 100) < value; } }