Content-Length: 18145 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/WebCamTexture-isPlaying.html
Returns if the camera is currently playing.
using UnityEngine;
public class Example : MonoBehaviour { // Tries to start the camera and outputs to the console if is was sucessful or not. void Start() { WebCamTexture webcamTexture = new WebCamTexture(); webcamTexture.Play(); Debug.Log(webcamTexture.isPlaying); } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/WebCamTexture-isPlaying.html
Alternative Proxies: