Exemple #1
0
 private void OnCollisionEnter(Collision collision)
 {
     if (collision.gameObject.CompareTag("Grapple Hook"))
     {
         moveTowardsHook.activateMove  = false;
         playermovement.movingDisabled = false;
         hookShoot.destroyBullet();
         gravity.enableGravity(attractor);
     }
 }