Yeah, I figured this would push against some design assumptions haha
Here’s the setup: I’ve made an ActionClip that has a lot of Animatable Parameters. There’s a lot for a user to sift through, and as a way to control that clutter and make things clearer in the Inspector, I want to only show Animatable Parameters for the user when they’re needed, based on settings on the clip. As an example of this, I have a list of “Effect Channels” the user can add or remove from. Each of these channels has an associated Animatable Parameter so they can key the range of effect on each of those Channels.
When the user adds to the list, it adds an Animatable Parameter to go along with it. When the user removes from the list, an Animatable Parameter is removed. This way there’s always the same number of parameters as there are Channels in the list.
And with the technique I listed above, it works! It just…doesn’t serialize. For now I’ve removed the ability to add/remove Effect Channels and set the Animatable Parameters with the attribute as recommended, and this isn’t blocking me from making the tool useful. But if it’s possible to get working without much work, that would rule!
Login
Register
By registering on this website you agree to our Privacy Policy.