//private Texture2D image; void Start() { Debug.Log("SOMETHING STARTED MOVING"); BETA = (float)Screen.width / Screen.height; #if UNITY_EDITOR_WIN #else webCamTexture = new WebCamTexture(); Debug.Log($"WEBCAMTXT {webCamTexture}"); webCamTexture.Play(); handProcessor = new HandProcessor(); Debug.Log("SOMETHING STARTED MOVING"); #endif }
void Start() { BETA = (float)Screen.width / Screen.height; handProcessor = new HandProcessor(); StartCoroutine(process()); }
public LMProcessor(float maxTransLife) { hmp = new HandProcessor(maxTransLife); provider = MonoBehaviour.FindObjectOfType <LeapProvider>() as LeapProvider; }