public UIWalkStateData(bool walkEnabled, SetInstructionUIStateAction.InstructionUIState instructionUIState, IWalkInstructionUI instruction)
 {
     this.walkEnabled        = walkEnabled;
     this.instructionUIState = instructionUIState;
     this.instruction        = instruction;
     isTeleportFinish        = false;
 }
 void OnInstructionUIStateChanged(SetInstructionUIStateAction.InstructionUIState newData)
 {
     if (newData == SetInstructionUIStateAction.InstructionUIState.Init)
     {
         StartCoroutine(StartInstructionAR());
     }
 }
Esempio n. 3
0
 public UIARStateData(bool arEnabled, SetInstructionUIStateAction.InstructionUIState instructionUIState, IARInstructionUI currentARInstructionUI, int numProxyInstances,
                      int instructionUIStep, ARToolStateData arToolStateData, ARPlacementStateData placementStateData, SetARModeAction.ARMode arMode)
 {
     this.arEnabled              = arEnabled;
     this.instructionUIState     = instructionUIState;
     this.currentARInstructionUI = currentARInstructionUI;
     this.numProxyInstances      = numProxyInstances;
     this.instructionUIStep      = instructionUIStep;
     this.arToolStateData        = arToolStateData;
     this.placementStateData     = placementStateData;
     this.arMode = arMode;
 }