Exemple #1
0
 private void Play()
 {
     if (m_Video == null || VideoController != null)
     {
         return;
     }
     // If instances of the video already exist, don't override with new state.
     if (m_Video.HasInstances)
     {
         m_InitialState = null;
     }
     VideoController = m_Video.CreateController();
     VideoController.OnVideoInitialized += OnVideoInitialized;
 }