예제 #1
0
 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));
         }
     }
 }
예제 #2
0
        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);
        }