private void Awake() { ColorState.path = GetComponent <Recorder>().Path; if (continueRecording) { //IdentifyStartIndex(); State = ColorState.Load(); } else { State = ColorState.NewState(); } //InitializeColors(); }