예제 #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.name == "Player2Hand")
     {
         if (socketIOManager.isConnected)
         {
             // Send msg to phone
             socketIOManager.SendMsg();
         }
         // Play audio
         highFivePlauseAudio.Play();
     }
 }