public void UpdateView() { previousColor = LightColor; transform.position = KeyframeUtil.GetPosition(Waypoints, Time, transform.position); LightColor = KeyframeUtil.GetColor(ColorKeyframes, Time, LightColor); }