// EXECUTION FUNCTIONS private void Start() { progressionManager = FindObjectOfType <ProgressionManager>(); otherSections = FindObjectsOfType <Section>().Where(s => s != this).ToArray(); FindObjectOfType <Blink>().blinkEvent += OnBlink; foreach (var s in sets) { s.Initialize(); } Scramble(); currentSelectionInt = 2; currentlyActiveSet = sets[2]; currentlyActiveSet.Load(); }
public void Reset() { done = false; inPosition = false; Scramble(); currentlyActiveSet.Unload(); foreach (var s in sets) { s.Reset(); } currentSelectionInt = 0; currentlyActiveSet = sets[0]; currentlyActiveSet.Load(); }