// Use this for initialization void Start() { webCamTextureToMatHelper = gameObject.GetComponent <WebCamTextureToMatHelper> (); #if UNITY_WEBGL && !UNITY_EDITOR var getFilePath_Coroutine = GetFilePath(); coroutines.Push(getFilePath_Coroutine); StartCoroutine(getFilePath_Coroutine); #else haarcascade_frontalface_alt_xml_filepath = OpenCVForUnity.Utils.getFilePath("haarcascade_frontalface_alt.xml"); sp_human_face_68_dat_filepath = DlibFaceLandmarkDetector.Utils.getFilePath("sp_human_face_68.dat"); Run(); #endif }