Does SpriterDotNet works with multiples Spriter Projects imported to Unity?
I create two different spriter projects and made one entity in each one.
Both prefabs were created normally. I also added both to the scene and both animations works.
The problem is with the Animator property of the SpriterDoNetBehavior.
Scenario:
1. I imported the GreyGuy example to unity. Created a Script for the player to change its animation to hit_0 when an object (like a bullet) would collide with him.
Works perfectly.
2. I created a Spriter project and made a Bat entity. I would use it as the bullet for the test 1. I imported the project to unity and added the Bat to the scene. When the bat collided with the GreyGuy, an Exception appear saying that the animation name I used to play in the GreyGuy's animator was not found.
After some tests I realized that both GreyGuy and Bat prefabs were sharing the Bat's Animator.
Does I need to do something for it to work?
I uploaded the full unity project to onedrive: https://1drv.ms/u/s!AmhLdtS8gKjrlrpG9w4jIbN7H_D0bg
Thiago
Thanks