void Start() { saverPlayer = KinectRecorderPlayer.Instance; sensorData = KinectManager.Instance.GetSensorData(); kinectToWorld = KinectManager.Instance.GetKinectToWorldMatrix(); bodyFrame = new KinectInterop.BodyFrameData(sensorData.bodyCount, KinectInterop.Constants.MaxJointCount); }
public void ChangeFile() { recorder = KinectRecorderPlayer.Instance; //recorder.filePath = "Assets/Resources/Movimientos/" + Movimiento + ".txt"; recorder.filePath = Movimiento; }
// ----- end of public functions ----- void Awake() { instance = this; }
void Start() { saverPlayer = KinectRecorderPlayer.Instance; }