public void SetCurrentSequencePath(SequencePath path, bool forceRebuild) { if (!m_SequenceHierarchy.NeedsUpdate(path, forceRebuild)) { return; } if (OnBeforeSequenceChange != null) { OnBeforeSequenceChange.Invoke(); } m_SequenceHierarchy.FromSequencePath(path, forceRebuild); if (OnAfterSequenceChange != null) { OnAfterSequenceChange.Invoke(); } }