public static void Destroy() { if (USRecordRuntimePreferences.CapturePath.Length == 0) { Debug.LogError(string.Format("Directory Path, specified in the uSequencer Preference Window is invalid, resetting to the default : {0}", USRecordRuntimePreferences.GetDefaultCapturePath())); USRecordRuntimePreferences.CapturePath = USRecordRuntimePreferences.GetDefaultCapturePath(); } }