public UIARStateData(int numPlanesAdded, int detectionThreshold, InstructionUI instructionUI, int numProxyInstances)
 {
     this.numPlanesAdded     = numPlanesAdded;
     this.detectionThreshold = detectionThreshold;
     this.instructionUI      = instructionUI;
     this.numProxyInstances  = numProxyInstances;
 }
Example #2
0
        void OnBackButtonClicked()
        {
            InstructionUI previous = UIStateManager.current.arStateData.instructionUI - 1;

            UIStateManager.current.Dispatcher.Dispatch(Payload <ActionTypes> .From(ActionTypes.SetInstructionUI, previous));
        }
Example #3
0
        void OnCheckButtonClicked()
        {
            InstructionUI next = UIStateManager.current.arStateData.instructionUI + 1;

            UIStateManager.current.Dispatcher.Dispatch(Payload <ActionTypes> .From(ActionTypes.SetInstructionUI, next));
        }