今天分析这个 先理解 在去再基础上二创 似乎这种方法更好一点
感觉下面这些代码主要是定义了一些节点的名称
using UnityEngine;
//using Windows.Kinect;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.IO;
using System.Text;
/// <summary>
/// Avatar controller is the component that transfers the captured user motion to a humanoid model (avatar). Avatar controller classic allows manual assignment of model's rigged bones to the Kinect's tracked joints.
/// </summary>
public class AvatarControllerClassic : AvatarController
{
// Public variables that will get matched to bones. If empty, the Kinect will simply not track it.
public Transform HipCenter;
public Transform Spine;
public Transform ShoulderCenter;
public Transform Neck;
// public Transform Head;
public Transform ClavicleLeft;
public Transform ShoulderLeft;
public Transform ElbowLeft;
public Transform HandLeft;
public Transform