/// <summary> /// get status of the camera /// </summary> /// <returns><c>true</c>, if playing was ised, <c>false</c> otherwise.</returns> public bool isPlaying() { #if UNITY_ANDROID && !UNITY_EDITOR if (isUseEasyWebCam) { return(EasyWebCam.isPlaying()); } else { return(webcamera.isPlaying); } #else return(webcamera.isPlaying); #endif }
/// <summary> /// get status of the camera /// </summary> /// <returns><c>true</c>, if playing was ised, <c>false</c> otherwise.</returns> public bool isPlaying() { #if (UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR if(isUseEasyWebCam) { return EasyWebCam.isPlaying (); } else { return webcamera.isPlaying; } #else return webcamera.isPlaying; #endif }