Ejemplo n.º 1
0
    void Start()
    {
        ct = new Controller();
        ct.EnableGesture(Gesture.GestureType.TYPESWIPE);
        ct.EnableGesture(Gesture.GestureType.TYPECIRCLE);
        ct.EnableGesture(Gesture.GestureType.TYPESCREENTAP);
        ct.Config.Save();

        descriptions = new List<string>(new string[] { sinoDesc, discoDesc });

        sc = new StateController(controlPanel, optionsPanel, successPanel, congratzPanel, soundIcon,
                                 successSound, descriptionText, previewImages, leapMotionObject, discoCamera);

        sc.addLabObject(sino, descriptions[0]);
        sc.addLabObject(discodelezenne, descriptions[1]);
    }