public void AddChapter(TimelineChapter chapter) { ChapterHierarchyButton newButton = Instantiate(baseButton, container); newButton.Initialize(this, chapter); buttons.Add(newButton); }
public void RemoveChapter(ChapterHierarchyButton button) { buttons.Remove(button); (TimelineController.Instance as TimelineEditor).RemoveChapter(button.Chapter); }