Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Silicon Power on August 20, 2021, 05:49:40 PM

Title: Get audio/animation length?
Post by: Silicon Power on August 20, 2021, 05:49:40 PM
Hi, I need to get an animation or audio clip length is there any action for this? thnaks
Title: Re: Get audio/animation length?
Post by: djaydino on August 21, 2021, 02:03:09 PM
Hi.
I made this action a while ago.

it can get the clip time, but it must be used inside a animator
Title: Re: Get audio/animation length?
Post by: Silicon Power on August 22, 2021, 02:15:47 PM
Hi.
I made this action a while ago.

it can get the clip time, but it must be used inside a animator
//
Thanks you. It works nicely, Is there same action for audio clips too?
Title: Re: Get audio/animation length?
Post by: djaydino on August 22, 2021, 06:19:50 PM
Hi.
You can find it on the Ecosystem.

i case you have issues with the Ecosystem, here is a direct link

https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U2018/blob/master/Assets/PlayMaker%20Custom%20Actions/Audio/GetAudioClipLength.cs