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