public override void tick(float totalElapsedTime) { var easedTime = _easeFunction(totalElapsedTime, 0, 1, _ownerTween.duration); var vec = GoTweenUtils.unclampedVector4Lerp(_startValue, _diffValue, easedTime); _setter(vec); }
public override void tick(float totalElapsedTime) { float value = _easeFunction(totalElapsedTime, 0f, 1f, _ownerTween.duration); Vector4 obj = GoTweenUtils.unclampedVector4Lerp(_startValue, _diffValue, value); _setter(obj); }
public override void tick(float totalElapsedTime) { float value = _easeFunction(totalElapsedTime, 0f, 1f, _ownerTween.duration); Vector4 value2 = GoTweenUtils.unclampedVector4Lerp(_startValue, _diffValue, value); _target.SetVector(_materialPropertyName, value2); }
static public int unclampedVector4Lerp_s(IntPtr l) { try { UnityEngine.Vector4 a1; checkType(l, 1, out a1); UnityEngine.Vector4 a2; checkType(l, 2, out a2); System.Single a3; checkType(l, 3, out a3); var ret = GoTweenUtils.unclampedVector4Lerp(a1, a2, a3); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }