Esempio n. 1
0
 // Decrementing instruction counter as long there is one
 public bool DecrementToPreviousInstruction()
 {
     if (currentInstructionNr >= 0) // ***
     {
         currentInstructionNr--;
         if (autoProgress)
         {
             progressTracker.Decrement();
         }
         return(true);
     }
     else
     {
         //Debug.Log("Can't decrement, instructionNr: " + currentInstructionNr);
         return(false);
     }
 }