Procedurally animating on 2's with a script

Hi

I’m working on a project where I want to utilise procedural animation - however I’m looking to try to recreate a 2D animated appearance by having things animate on 2’s and 3’s (eg holding one pose for 2 or 3 frames across 24 frames). I’m guessing this isn’t an easy feat since I haven’t really figured out how to even start tackling this since a) obvs games have a variable framerate so to achieve a consistent 24-frames animated on 2’s appearance would need to scale/change based on the fps and b) since the animations are procedural and in some instances physics based have them only update every other frame (or the relative equivalent to whatever framerate the project is running at). I’ve seen a suggestion a while back to clamp the whole project to render at 24 frames buy I’d prefer to be able to adjust it with a script and have it be specific so I can have the camera and some other objects move at higher frames.

Any suggestions on ways to potentially tackle this?

This does something like what you ask, but it’s really old and I haven’t used it recently, so I don’t know if it works:

https://github.com/OskarSigvardsson/StopMotion-Unity