Example #1
0
    public void    NextFrame()
    {
        currentFrameIdx++;
        if (currentFrameIdx == Transforms.Count)
        {
            OnEndSequence();
            return;
        }

        currentFrame = Transforms[currentFrameIdx];
        StartCoroutine(CameraTransition());
    }
Example #2
0
 public void    Play()
 {
     currentFrame = Transforms[currentFrameIdx];
     StartCoroutine(CameraTransition());
 }