- Home /
Error BCE0019:
Hi i need help wiht this problem Assets/Script/Play.js(1,31): BCE0019: 'Play' is not a member of 'UnityEngine.Texture'. how can resolved this.? thanks for your time.
Comment
Post your script. We can't help if you don't give us enough information on your problem.
I trying play a texture because i want make a game with a video my script is this:
renderer.material.mainTexture.Play();
It 's the only thing I use
So.. how can add a video and export the proyect to android ?
Answer by Dave-Carlile · Jul 06, 2015 at 01:36 AM
You want to use a MovieTexture, not a normal texture.
Upon reading the documentation further, apparently MovieTexture
isn't supported on Android. You'll need to use Handheld.PlayFullScreenMovie instead.