public MocapWorkflow GetUserDefaultWorkflow()
        {
            //Get workflow phase from default input
            List <InputProfileMetaData> inputProfiles = InputProfile.LoadMetaData(MocapWorkflow.Record, MocapWorkflow.Review);

            // Try to load the user's preferred input method.
            if (EditorPrefs.HasKey(CinemaMocapSettingsWindow.InputProfileKey))
            {
                string label  = EditorPrefs.GetString(CinemaMocapSettingsWindow.InputProfileKey);
                int    result = inputProfiles.FindIndex(item => item.Attribute.ProfileName == label);
                // Set the correct workflow phase
                return(inputProfiles[result].Attribute.MocapPhase);
            }
            return(MocapWorkflow.Record);
        }