public void ActivateState(EditorWindowState state)
 {
     _CurrentState = state;
     foreach (var stateApartmentBuilder in _States)
     {
         stateApartmentBuilder.Value.SetActive(stateApartmentBuilder.Key == state);
     }
 }
 private void UpdateStateReset()
 {
     if (IsProjectSetUp())
     {
         state = EditorWindowState.RecordPlayControls;
     }
     else
     {
         state = EditorWindowState.NeedsSetUp;
     }
 }
 private void Init()
 {
     titleContent = new GUIContent("Composite Recordings");
     state        = EditorWindowState.Reset;
 }