public void Update() { float delta = Time.deltaTime; _lastDelta += delta; if (!_playing) { return; } if (_lastDelta > 1.0f / 30.0f) { foreach (KeyValuePair <string, PointCloudDepth> p in _clouds) { if (getFrameAndNormal(p.Key, _colorData, _depthData, null)) { _clouds[p.Key].setPointsUncompressed(_colorData, _depthData); } } show(); _lastDelta = 0; if (_skeletonPlayer != null) { _skeletonPlayer.ReadNextLine(); } } }