playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Video loop counter
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Video loop counter (Read 810 times)
Alatriste
Full Member
Posts: 193
Video loop counter
«
on:
February 23, 2020, 10:37:50 AM »
Hi,
What is the best way to count the number of loops of a video which is set to play as a loop? Or should just play video -> Add int -> check int -> play video... and so on?
I found this:
https://answers.unity.com/questions/1283934/count-each-time-movie-clip-plays-on-a-loop.html
so perhaps it would be easier to accomplish this with a specific custom action?
«
Last Edit: February 23, 2020, 10:40:24 AM by Alatriste
»
Logged
djaydino
Administrator
Hero Member
Posts: 7614
Re: Video loop counter
«
Reply #1 on:
February 23, 2020, 03:28:59 PM »
Hi.
the answer on unity gets the clip time and does a wait using that time then int add 1
and check if it should continue
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Video loop counter