Versions with this page:
Versions without this page:
返回摄像机当前是否正在运行。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Start() { WebCamTexture webcamTexture = new WebCamTexture(); webcamTexture.Play(); Debug.Log(webcamTexture.isPlaying); } }