public void removeAction(TimelineAction action) { action._setTimeline(null); sequencer.removeAction(action); if (ActionRemoved != null) { ActionRemoved.Invoke(this, new TimelineActionEventArgs(action, 0)); } }
public void addAction(TimelineAction action) { action._setTimeline(this); sequencer.addAction(action); if (ActionAdded != null) { ActionAdded.Invoke(this, new TimelineActionEventArgs(action, sequencer.indexOf(action))); } }