brunomikoski / Animation-Sequencer

A visual tool that allows you to create animated sequences of tweens and tweak them on editor time.
MIT License
960 stars 116 forks source link

Animation Sequencer does not see DOTween #23

Closed eonyanov closed 3 years ago

eonyanov commented 3 years ago

After install I get errors in Editor: Library\PackageCache\com.brunomikoski.animationsequencer@0.2.2\Scripts\Runtime\Core\DOTweenActions\AnchoredPositionMoveDOTweenActionBase.cs(32,89): error CS1061: 'RectTransform' does not contain a definition for 'DOAnchorPos' and no accessible extension method 'DOAnchorPos' accepting a first argument of type 'RectTransform' could be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.brunomikoski.animationsequencer@0.2.2\Scripts\Runtime\Core\DOTweenActions\ColorGraphicDOTWeen.cs(33,68): error CS1929: 'Graphic' does not contain a definition for 'DOColor' and the best extension method overload 'ShortcutExtensions.DOColor(Camera, Color, float)' requires a receiver of type 'Camera'

Library\PackageCache\com.brunomikoski.animationsequencer@0.2.2\Scripts\Runtime\Core\DOTweenActions\FadeCanvasGroupDOTweenAction.cs(33,67): error CS1929: 'CanvasGroup' does not contain a definition for 'DOFade' and the best extension method overload 'ShortcutExtensions.DOFade(Material, float, float)' requires a receiver of type 'Material'

Library\PackageCache\com.brunomikoski.animationsequencer@0.2.2\Scripts\Runtime\Core\DOTweenActions\FadeGraphicDOTweenAction.cs(33,68): error CS1929: 'Graphic' does not contain a definition for 'DOFade' and the best extension method overload 'ShortcutExtensions.DOFade(Material, float, float)' requires a receiver of type 'Material'

Library\PackageCache\com.brunomikoski.animationsequencer@0.2.2\Scripts\Runtime\Core\DOTweenActions\FillImageDOTweenAction.cs(33,67): error CS1061: 'Image' does not contain a definition for 'DOFillAmount' and no accessible extension method 'DOFillAmount' accepting a first argument of type 'Image' could be found (are you missing a using directive or an assembly reference?)

I went to Packages>Animation Sequencer>Scripts>Runtime. Checked BrunoMikoski.AnimationSequencer.asmdef and there was no link to DOTween.Modules assembly

image

eonyanov commented 3 years ago

I created ASMDEFs from DOTween Utility Panel and got new error:

Library\PackageCache\com.brunomikoski.animationsequencer@0.2.2\Scripts\Editor\Core\AnimationSequencerControllerCustomEditor.cs(113,38): error CS0117: 'DOTweenEditorPreview' does not contain a definition for 'isPreviewing'

eonyanov commented 3 years ago

Update Dotween and DOtweenPro for last version, issue is gone :)

brunomikoski commented 3 years ago

Glad that you figured out :)