IEnumerator vibrateCircle(Senso.Hand hand, int cicles) { for (int k = 0; k < cicles; ++k) { for (int i = 0; i < 5; ++i) { hand.VibrateFinger((EFingerType)i, 150, 10); yield return(new WaitForSeconds(0.15f)); } } }
IEnumerator ShieldSpawn(Senso.Hand hand) { for (int i = 0; i < 10; ++i) { hand.VibrateFinger((EFingerType)(i % 5), 500, 10); yield return(new WaitForSeconds(0.5f)); } yield return(new WaitForSeconds(5.0f)); aPlayer.SetShielded(false); }