void Start() { if (Instance != null) throw new InvalidOperationException ("There may only be one instance of the UIStatusManager."); Instance = this; activeSliders = new List<Slider> (); pendingEffects = new Queue<StatusQueueElement> (); }
void Start() { if (Instance != null) { throw new InvalidOperationException("There may only be one instance of the UIStatusManager."); } Instance = this; activeSliders = new List <Slider> (); pendingEffects = new Queue <StatusQueueElement> (); }