Search Unity

Is it possible to draw texture on a movie playing?

Discussion in 'Scripting' started by Phiru, Jul 24, 2014.

  1. Phiru

    Phiru

    Joined:
    Oct 29, 2012
    Posts:
    32
    I want to put a skip button on a movie playing.

    In order to play a movie, I coded like this, which is from Unity Doc.

    Code (csharp):
    1.  
    2. Handheld.PlayFullScreenMovie ("StarWars.mp4", Color.black, FullScreenMovieControlMode.CancelOnInput);
    3.  
    It can make me skip the movie when I touch the screen.

    However, what i want to do is when I touch only "Skip Button", skip the movie.

    I tested it and failed.

    Is there any good way or links helpful?

    Give me any ideas. Thanks.
     
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    On mobile the movie playback happens with Unity paused. It's not possible to use Unity to superimpose textures over the movie.
     
  3. Phiru

    Phiru

    Joined:
    Oct 29, 2012
    Posts:
    32
    Thanks. and sorry about reply late. I forgave it out. Thanks .