Beispiel #1
0
 void OnTriggerEnter2D(Collider2D coll)
 {
     if (coll.gameObject.tag == "Protag")
     {
         cameraScript.setFollowing(false);
     }
 }