AnyPortrait > Forum > How to Use

[Archive] Combine two animations with script

  • This topic has 0 replies, 1 voice, and was last updated 1 week, 2 days ago by Archive AccountArchive Account.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1198
    Archive AccountArchive Account

      Q.

      I have 2 animation. (1.attack / 2.walk)
      Now I want to make a walking-attacking animation during my character walking, just like the Pirate Girl demo.
      As I know the unity’s mecanim can do something like this.
      However, is there anyway to do so by pure AnyPortrait’s API ?

       

      A.

      If you want to play two or more animations together, you can use “Layer”.
      You can use Mecanim’s Layer or input the Layer argument in the script function related to animation playback provided by AnyPortrait.
      These script functions are similar to Unity’s animation API.
      You can see a detailed explanation on the following page.

      https://rainyrizzle.github.io/en/Script/SC_Animation.html

      • This topic was modified 1 week, 2 days ago by Archive AccountArchive Account.
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Scroll to Top