Hi everybody !
Is there a way to get (by script) the list of the Pages (materials) that are going to be used by an Animation before it is played ?
Thanks in advance !
Well, I finally found a way to get what I want ^^
For those who could be interested in getting the Pages used by an Animation through script, you have to get the Timelines in the concerned Animation. Each of these TL can then be cast as AttachmentTimeline, which contains the SlotIndex and the AttachmentName of each Region bound to the animation.
You can then use Skeleton.GetAttachment(SlotIndex, AttachmentName) and cast the result to get your regions. Each region knows the page it belongs to.
There may be a better way, but this one works !