استفاده از وبکم در یونیتی
سه شنبه, ۱۸ آبان ۱۳۹۵، ۰۸:۵۹ ب.ظ
gameover.blog.ir
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Start() { WebCamTexture webcamTexture = new WebCamTexture(); renderer.material.mainTexture = webcamTexture; webcamTexture.Play(); } }
۹۵/۰۸/۱۸