Unity3D Unity全屏幕播放视频脚本

var StartingMovie : MovieTexture;
function OnGUI () {
GUI.DrawTexture (Rect (0,0, Screen.width, Screen.height),StartingMovie,ScaleMode.ScaleToFit );
StartingMovie.Play();
}

你可能感兴趣的:(Unity3D Unity全屏幕播放视频脚本)