Ejemplo n.º 1
0
 void enableCGReward(string prefName, int arrayNumber)
 {
     continueButton.interactable = false;
     bool[] charaTemp = VNPrefs.GetBoolArray(prefName);
     charaTemp [arrayNumber] = true;
     VNPrefs.SetBoolArray(prefName, charaTemp);
     lineCounter++;
     messageScrolling = false;
     StartCoroutine(nextWithWaitSpriteAnimator());
     continueButton.interactable = true;
 }
Ejemplo n.º 2
0
 void enableCharaChapter(string charaPref, int parameter)
 {
     continueButton.interactable = false;
     bool[] charaTemp = VNPrefs.GetBoolArray(charaPref);
     charaTemp [parameter] = true;
     VNPrefs.SetBoolArray(charaPref, charaTemp);
     lineCounter++;
     messageScrolling = false;
     StartCoroutine(nextWithWaitSpriteAnimator());
     continueButton.interactable = true;
 }