public void NextFrame() { currentFrameIdx++; if (currentFrameIdx == Transforms.Count) { OnEndSequence(); return; } currentFrame = Transforms[currentFrameIdx]; StartCoroutine(CameraTransition()); }
public void Play() { currentFrame = Transforms[currentFrameIdx]; StartCoroutine(CameraTransition()); }