// Update is called once per frame void Update() { FloatCurrentValue = _floatLerp.GetValue(); Vector2CurrentValue = _vector2Lerp.GetValue(); Vector3CurrentValue = _vector3Lerp.GetValue(); QuaternionCurrentValue = _quaternionLerp.GetValue(); ColorCurrentValue = _colorLerp.GetValue(); Color32CurrentValue = _color32Lerp.GetValue(); }
// Update is called once per frame void Update() { transform.rotation = _lerp.GetValue(); }