public void Step(NCSContext context) { context.script = this; NCSInstruction instruction = instructions[context.GetPC()]; //Debug.Log(instruction.AsString()); instruction.Run(context); if (instruction.IncrementsPC) { //Debug.Log("Incrementing PC"); context.Step(); } lastInstruction = instruction; }