Quantcast
Channel: Latest Questions by karl_
Viewing all articles
Browse latest Browse all 90

Having trouble with iPhoneUtils.PlayMovie

$
0
0

I've not yet been able to get a video to play on the iPhone, and I'm assuming it has something to do with the if statement encapsulating the PlayMovie command. My iPhoneStreamingAssets folder is next to the Assets folder in the main file structure.

Here is the code I'm using:

if(GUI.Button (Rect ( (Screen.width*( (button_locX+5)/10)) - (button_sizeX / 2), (Screen.height*((button_locY+move+.2)/10)), 80, 35), "Preview") )
{
    iPhoneUtils.PlayMovie("jump.mov", Color.black, iPhoneMovieControlMode.CancelOnTouch);
}

Viewing all articles
Browse latest Browse all 90

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>