CodePudding user response:
Looking for plug-ins such as Mobile Movie Texture, etcCodePudding user response:
AVpro can try this pluginCodePudding user response:
Video is not to add material objects, multiple video is to give the different objects with different capable person to go?public MovieTexture MovieTexture;
Private MeshRenderer Mr;
//Use this for initialization
Void the Start () {
Mr=GetComponent(a);
Mr Material. MainTexture=movietexture;
Movietexture. Loop=true;
Movietexture. Play ();
}
CodePudding user response:
Generating material, upstairs to the code,,,CodePudding user response:
I can say no complete solution?Can use EasyMovieTexture, USES the hard way to broadcast video solution, the principle is the use of the Android MediaPlayer and convey the streaming video texture to unity,
If performance is slag can play most of the machine, but part of the pit force machine does not support hardware solution will not play video,
MMT can also be used, but is soft solution, in the low-end machine or the use of high resolution video gets slides,
CodePudding user response:
Use the plug-in to play video, such as Mobile Movie Texture, EasyMovieTexture.Or upgrade unity5.6, added new VideoPlayer function, add VideoPlayer components to the object directly, can play,
CodePudding user response:
MovieTexture mode can be used in the android?CodePudding user response: