body_hit.gd 142 B

123456789
  1. extends KinematicBody
  2. onready var cam_p=get_node("../../../../../scene/pause_camera")
  3. func _ready():
  4. pass
  5. func hit():
  6. cam_p.minus_speed()