Need help on how to present better certain scenario in USD format:
Let’s say I nave 4 animations: A, B, C, D. I first play animation A and then I need call microservice to get decision either play animation B, or C. After animation B or C played - I’d like to continue with animation D.
I’m wondering, if I can place all these animations inside one USD file and somehow define inside the USD file which microservice to call and how to process response. Or do I need to create four separate USD files (each for A,B,C,D animations) and have some sort of processing code, which will parse configuration and start playing A, B, C, D animations and call microservice when necessary.
It would be strange if I need to have separate configuration file… but still… if someone know the right solution - please advise?