Jump to content

Problem: AnimationClips in Unity with SpriterDotNet


Recommended Posts


I´m currently trying to import my spriter animations into Unity 2017.

I imported all the unitypackages and dragged the folder with my scml.data as I was told in various tutorials.

But neither an animation controller nor any animation clips (for example walking.anim) are created like they are in the grey guy example.

Currently I don`t find any solutions for whaat I can do, but I saw in this post:



that Konckeri solved it adding

UnityAnimator animator = gameObject.GetComponent<SpriterDotNetBehaviour>().Animator;

UnityAnimator animator = gameObject.GetComponent<SpriterDotNetBehaviour>().Animator;

assignment in  script and to use the Spriter.asset.

But I don't know what that means... I created a new Script and added that line but I got this error in the compiler:

"Can't Find UnityAnimator" (missing)

Thank you very much!!


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...