Jump to content
Sign in to follow this  
Konckeri

[Solved] Unity 2017 making animationClips

Recommended Posts

Hello,

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.

Can someone tell me what I should do?

 

Greetings,

Konckeri

Share this post


Link to post
Share on other sites

I found the solution.

I read through the SpriterDotNet.Unity documentation again and realized that I just needed to do this 

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

assignment in my script and to use the Spriter.asset.

Now everything works just fine.

Share this post


Link to post
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.

Guest
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...