umasteeringgroup / UMA

Unity Multipurpose Avatar
MIT License
737 stars 169 forks source link

Instantly update recipes #267

Closed Alster closed 5 years ago

Alster commented 5 years ago

Hi! is there are some way to update character instantly when we just updating recipes? I mean, when character is already created, and we just applying recipe (for example avatar.LoadFromRecipeString), can I got result immediately, without waiting several frames?

Jaimi commented 5 years ago

Yes, in the develop branch. On the UMAGenerator Set "Process All Pending" to true. Call UMAGenerator.Work().

Note: do not do this in one of the UMA events.