void Start() { kinectManager = KinectManager.Instance; saverPlayer = BodyDataRecorderPlayer.Instance; sensorData = kinectManager != null?kinectManager.GetSensorData(sensorIndex) : null; }
// ----- end of public functions ----- void Awake() { instance = this; }
void Start() { saverPlayer = BodyDataRecorderPlayer.Instance; kinectManager = KinectManager.Instance; }