// Use this for initialization void Start() { currentSlide = slides[currentIndex]; currentSlide.OnSlideEnter(this); currentSlide.SetCameraTarget(0f); }