Example #1
0
 // Use this for initialization
 void Start()
 {
     targetEmotion = Emotions.Joy; //Standard Joy, remove this
     emotions      = GetComponent <PlayerEmotions>();
     img.sprite    = neutral;
     TotalScore    = 0;
     graph         = GetComponent <ScoreGraph>();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     ended   = false;
     counter = 0;
     round   = 0;
     PlayerPrefs.SetInt("rounds", totalRounds * sentencePerRound);
     scores = GetComponent <ScoreManager>();
     graph  = GetComponent <ScoreGraph>();
     speech = GetComponent <Speech> ();
     mp     = GetComponent <Mp> ();
 }