public UIARStateData(int numPlanesAdded, int detectionThreshold, InstructionUI instructionUI, int numProxyInstances) { this.numPlanesAdded = numPlanesAdded; this.detectionThreshold = detectionThreshold; this.instructionUI = instructionUI; this.numProxyInstances = numProxyInstances; }
void OnBackButtonClicked() { InstructionUI previous = UIStateManager.current.arStateData.instructionUI - 1; UIStateManager.current.Dispatcher.Dispatch(Payload <ActionTypes> .From(ActionTypes.SetInstructionUI, previous)); }
void OnCheckButtonClicked() { InstructionUI next = UIStateManager.current.arStateData.instructionUI + 1; UIStateManager.current.Dispatcher.Dispatch(Payload <ActionTypes> .From(ActionTypes.SetInstructionUI, next)); }