Exemplo n.º 1
0
 protected void ShowColorText(string txt, Color color)
 {
     whiteboardText.SetColor(color);
     whiteboardText.SetText(txt);
     whiteboardImage.Hide();
     whiteboardText.Show();
 }
Exemplo n.º 2
0
    protected void OnEnable()
    {
        var wb = GameObject.Find("WhiteBoardWithDisplay");

        if (wb != null)
        {
            whiteboardText = wb.GetComponent <ShowText>();
            whiteboardText.Hide();
            whiteboardImage = wb.GetComponent <ShowImage>();
            whiteboardImage.Hide();
        }
        input   = FindObjectOfType <InputBroker>();
        subject = FindObjectOfType <SubjectDataHolder>();
        subject.LoadSubjectData();
        salienceController.ResetRunningAverage();
    }