コード例 #1
0
        private void Awake()
        {
            trainingSetFile = Registry.Instance.oneDollarTrainingSet;
            recognizer      = new DollarOne.DollarRecognizer();
#if UNITY_EDITOR
            oscSensor.SetActive(true);
            nativeSensor.SetActive(false);
#else
            oscSensor.SetActive(false);
            nativeSensor.SetActive(true);
#endif
        }
コード例 #2
0
 private void Awake()
 {
     points           = new List <Vector2>();
     isRecording      = false;
     trainingSetAsset = Registry.Instance.oneDollarTrainingSet;
 }