I am currently trying to work with Aseprite files in Unity. I have an image of an enemy face, and 3 different (aseprite timeline) layers for that sprite, one or the face itself without the eyes and mouth, one layer for the mouth and one layer for the eyes. I was trying to find a way in Unity where I can change the current timeline only for the eyes as a reaction for the player location (to follow the player) and the mouth as a reaction to another event. Siplifying my question, how can I change the timeline of the layers independently (without changing the timeline of other layers). Every place I see shows how timelines works, but I couldn't find anywhere explaining how to change each layer independently. I don't know if there is a straight forward implementation for it, like "if (...) {animation.layerEye = 3;}". But if there is not a straight forward implementation, how do you guys solve this kind of situation without having to make a different sprite for each permutation of all layers (because I dont want to be making like 10x10x10 different sprites because of the permutations).
c# - How to change just one specific instance of a layer from a timeline in .aseprite file in unity 2D? - Stack Overflow
与本文相关的文章
- Where are Eclipse bugs reported in 2025? - Stack Overflow
- javascript - Problem of re-rendering useEffect with watch all fields using React Hook Form - Stack Overflow
- javascript - Axios delete method with a payload - Stack Overflow
- javascript - How to use events with bodymovin.js - Stack Overflow
- javascript - Client-side Prism.js with npm - Stack Overflow
- c++ - AWS SDK Multipart Upload, getting MissingContentLength error on Comple Multipart Upload - Stack Overflow
- html - JavaScript: Get window width minus scrollbar width - Stack Overflow
- android - Saving String List to Firestore - Stack Overflow
- javascript - how to hide required pop-up of input in html - Stack Overflow
- regex - How to pull a number out of a string in JavaScript? - Stack Overflow
- javascript - Using lodash, why is the map method within flow not working? - Stack Overflow
- javascript - onbeforeunload confirmation screen customization - Stack Overflow
- javascript - Stop memory leaks with recursive promises - Stack Overflow
- vcredist - Visual Studio 2022 platform toolset v143 and spectre vcruntime files - Stack Overflow
- html - Setting the style property for table rows using javascript - Stack Overflow
- javascript - PHP equivalent of indexOf - Stack Overflow
- javascript - How to access an API with Vue.js? - Stack Overflow
- javascript - React-router v6 Route composition. Is it possible to render a custom Route? - Stack Overflow
- javascript - how to remove the style tags from the header section - Stack Overflow
- javascript - How to make an iframe responsive full height and full width - Stack Overflow
评论列表(0)
- 暂无评论