把Kinect的深度图穿给Shader Graph
using com.rfilkov.kinect;
using UnityEngine;
using UnityEngine.UI;public class GetDepthTex : MonoBehaviour
{
public Material Mat_SandTable;
void Update()
{
Mat_SandTable.SetTexture("_MainTex", KinectManager.Instance.GetSensorData(0).depthImageTexture);
}
}