Пример #1
0
 // 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();
 }
Пример #2
0
 // Update is called once per frame
 void Update()
 {
     transform.rotation = _lerp.GetValue();
 }