Exemple #1
0
 //Check Collision
 void OnCollisionEnter(Collision other)
 {
     //Debug.Log("Collision Check0");
     if (other.gameObject.tag == Tags.Player)
     {
         //Debug.Log ("Collision Check1");
         movecs.faceToDestination();
     }
 }