How can I get the animation preview time from code?

Does anyone know how I can access the animation preview time from code? Animation is a field in a ScriptableObject. (InlineEditor is an OdinInspector attribute)

Hello @salepaun ,

Click on Window/ Animation/ Animation

then you click on thee object you want to animate and you can see the preview