Exemple #1
0
 public void OnDrag(PointerEventData eventData)
 {
     strokingNum++;
     if (strokingNum > strokingThreshold)
     {
         GetComponent <Animation> ().Play("IdleSit");
         GetComponent <Animation> ().PlayQueued("Idle");
         strokingNum = 0;
         CatPreferences.addStrokingNum();
     }
 }