public void OnDisable() { this.StopRecording(); this.StopPlayback(); if (this.m_Recording != null) { this.m_Recording.Dispose(); this.m_Recording = null; } }
public override void OnEnable() { base.OnEnable(); this.m_Recording = new AnimationRecordMode(); }