Esempio n. 1
0
    private void DisplayInstructions(string instructions)
    {
        string participantNumber = "P" + numeroParticipant;
        string trialProgress     = currTrial + "/" + nbTrials;

        expanDialSticks.setBorderBackground(Color.white);
        expanDialSticks.setLeftCornerText(TextAlignmentOptions.Center, 4, Color.black, participantNumber, new Vector3(0f, 0f, 0f));
        expanDialSticks.setBottomBorderText(TextAlignmentOptions.Center, 4, Color.black, instructions, new Vector3(0f, 0f, 0f));
        expanDialSticks.setRightCornerText(TextAlignmentOptions.Center, 4, Color.black, trialProgress, new Vector3(0f, 0f, 0f));

        //expanDialSticks.triggerTextureChange();
    }