I can’t seem to find a way to add custom class value as a keyframe in animation panel, is there any workaround for this?
The value has to be serialized - ie. visible in the inspector.
If that’s the case, simply start record mode and change the value in the inspector. That’ll add the keyframe even if it’s not available in the animation dropdown menu.
You can also do this to animate built-in things that’s not usually animatable - like a lot of the properties of a RectTransform.
It doesn’t work that way, may be because the value is a float array