-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VertexGradientPlugin Error in Unity 2018.4.5 #5
Comments
Adding the following code in the VertexGradientPlugin class, fixed it for me
|
Did not work for me and the latest version of CharTweener gives me this error too. I am running 2019.4.4f1 Assets\CharTween\Scripts\VertexGradientPlugin.cs(14,18): error CS0534: 'VertexGradientPlugin' does not implement inherited abstract member 'ABSTweenPlugin<VertexGradient, VertexGradient, NoOptions>.SetFrom(TweenerCore<VertexGradient, VertexGradient, NoOptions>, VertexGradient, bool, bool)' |
Try: public override void SetFrom(TweenerCore<VertexGradient, VertexGradient, NoOptions> t, VertexGradient vg, bool setImmediately, bool isRelative) I don't have any idea what the bool "setImmediately" will or won't do in this case, but it will at least get rid of that error and allow you to use CharTweener. |
For me it worked by adding the following:
|
is this being fixed unity 2019.4.19 has the same error |
Thanks! This fixes the issue for me in Unity 2020.3.3f |
I was having this same issue but what I did was delete the Evaluate and Apply function then added this code in on line 93: public override void EvaluateAndApply(NoOptions options, Tween t, bool isRelative, DOGetter getter, DOSetter setter, float elapsed, VertexGradient startValue, VertexGradient changeValue, float duration, bool usingInversePosition, int newCompletedSteps, UpdateNotice updateNotice) This seemed to work for me in Unity Version 2021.3.8f1 |
Assets/CharTween/Scripts/VertexGradientPlugin.cs(14,18): error CS0534: `CharTween.VertexGradientPlugin' does not implement inherited abstract member `DG.Tweening.Plugins.Core.ABSTweenPlugin<TMPro.VertexGradient,TMPro.VertexGradient,DG.Tweening.Plugins.Options.NoOptions>.SetFrom(DG.Tweening.Core.TweenerCore<TMPro.VertexGradient,TMPro.VertexGradient,DG.Tweening.Plugins.Options.NoOptions>, TMPro.VertexGradient, bool)'
The text was updated successfully, but these errors were encountered: