Try This Defiantly it works :
void OnCollisionEnter(Collision Hand)
{
if(Hand.gameObject.CompareTag("Hand")
{
Debug.Log(gameObject.name);
}
}
↧