2D anims with same animation but with different sprites. Character creation.
Hello!
I am currently working on a character creation for a simple mobile game. The character is a 3D mesh while their facial features (eyes, eyebrows and mouth) is 2D sprites. These facial features is all customizable, changing mouth, eye type etc. I have never animated with a 3D mesh and 2D sprites combined, nor have I ever made a character creation before. Also, I have very limited experience with coding.
Anyhow, the way I am going about it now is that I animate the eyes with an animator controller. Using the sprite for the eye and switching it to say a blinking sprite, and there we go a blink animation. The issue with this is that I would need to go about and create a separate controller for each and every eye type as well as animations. There has to be an easier way to do that, right?
Instead of putting the actual eye sprite in the animation dropsheet would it be possible to put a kind of "slot" that tells the game to display the currently assigned sprite. Just like the sprite renderer in in the inspector. I don't know how I should explain it but I hope you get the idea.