コード例 #1
0
        private UpdateInstructionsResponse OnUpdateInstructions(UpdateInstructionsRequest request, ICommandCallerInfo callerinfo)
        {
            Debug.Log("Going to handle the update instructions request");
            Debug.Log(request.instructionDescription);

            var update = new Instructions.Update();

            update.SetInstructionDescription(request.instructionDescription);
            instructionsWriter.Send(update);

            return(new UpdateInstructionsResponse());
        }
コード例 #2
0
 private void OnComponentUpdated(Instructions.Update update)
 {
     Debug.LogError(instructionsReader.Data.instructionDescription);
     totalPointsGUI.text = instructionsReader.Data.instructionDescription;
 }