static public string GetReadableTimelineContainerName(USTimelineContainer timelineContainer) { timelineContainer.RenameTimelineContainer(); var name = ""; name = timelineContainer.name.Replace("_Timelines for ", ""); if (name.Contains("Timelines for ")) { name = timelineContainer.name.Replace("Timelines for ", ""); } return(name); }