void CinemaCurveControl_SnapScrubber(object sender, CurveClipScrubberEventArgs e) { CinemaClipCurve curveClip = e.curveClipItem as CinemaClipCurve; if (curveClip == null) return; curveClip.Cutscene.SetRunningTime(e.time); }
void CinemaCurveControl_SnapScrubber(object sender, CurveClipScrubberEventArgs e) { CinemaClipCurve curveClip = e.curveClipItem as CinemaClipCurve; if (curveClip == null) { return; } curveClip.Cutscene.SetRunningTime(e.time); }
void CinemaCurveControl_SnapScrubber(object sender, CurveClipScrubberEventArgs e) { ItemClipCurve curveClip = e.curveClipItem as ItemClipCurve; if (curveClip == null) { return; } curveClip.Manager.SetRunningTime(e.time); curveClip.Manager.EnterPreviewMode(); }
void CinemaCurveControl_SnapScrubber(object sender, CurveClipScrubberEventArgs e) { CinemaClipCurve curveClip = e.curveClipItem as CinemaClipCurve; if (curveClip == null) { return; } curveClip.Cutscene.EnterPreviewMode(e.time); curveClip.Cutscene.SetRunningTime(e.time); // will always set running time even if already in preview mode. }