private void Update() { _currentFrame = _sampleManager.GetFrameAtCurrentIndex(); _rawImage.texture = _currentFrame; }