title: Get current frame number / time of video in unity
body: <p>I'm facing a problem, please help me if it is possible.</p>
  
  <p>I'm practicing unity and I'm trying to make sth for myself. And I'm playing a video using UI and canvas raw image and what I need is this:</p>
  
  <p>I want to tell animator to start a special animation when the movie reaches a specific frame or time for example when it reaches at 10 seconds I want to make the movie stop and that animation be triggered.</p>
  
  <p>I don't have any problem with playing or pausing my video or triggering animations in animators...</p>
  
  <p>My problem is that I don't know how to get the number of current frame playing in movie using script </p>
  
  <p>I tried using time functions to solve my problem but it has two disadvantages , first its not accurate !! each time it results in a small different out come and I don know exactly why , second it becomes hard if I change something else for example actions before that movie</p>
  
  <p>In short my question is this: is there any way to get the current frame number of a movie using script in unity ? ( a movie which is playing using UI and canvas and raw image )</p>
  
  <p>Thanks a lot in advance... </p>