public void FixTalkingHeadDuplicates() { List <EditorCinematic> tempList = new List <EditorCinematic>(); tempList.AddRange(mTalkingHeadVideos); mTalkingHeadVideos.Clear(); for (int i = 0; i < tempList.Count; i++) { EditorCinematic item = tempList[i]; if (ContainsTalkingHeadVideo(item.Name) == false) { mTalkingHeadVideos.Add(item); } } }
public void AddCinematic(string cinematicName) { EditorCinematic cinematic = new EditorCinematic(cinematicName, -1, false); mEditorCinematics.Add(cinematic); }
public void AddCinematic(EditorCinematic cinematic) { mEditorCinematics.Add(cinematic); }
public void AddTalkingHeadVideo(string video) { EditorCinematic vid = new EditorCinematic(video, -1, false); mTalkingHeadVideos.Add(vid); }
public void AddTalkingHeadVideo(EditorCinematic video) { mTalkingHeadVideos.Add(video); }