here is the script which i used, i cudnt export my AR ap(android and ios)
using UnityEngine;
using System.Collections;
public class Play : MonoBehaviour {
public MovieTexture movTexture;
void Start() {
GetComponent<Renderer>().material.mainTexture = movTexture;
movTexture.Play();
}
}
I’d you’re using MonoDevelop, right click on MovieTexture and pick reactor (first entry). It should show you the necessary using directive that needs to be included into the header.
yes i am using Mono Develop. Sorry Bro, i am just beginning stage so i cant understand what u said. i will send my unity file. will u correct? please give me ur mail id.
Would like to get a clear answer as well as I am having the same issue.