void Update()
 {
     if (Input.GetKeyDown(pushKey))
     {
         beam.Activate();
         beam.SetType(TractorBeamType.Push);
     }
     else if (Input.GetKeyDown(pullKey))
     {
         beam.Activate();
         beam.SetType(TractorBeamType.Pull);
     }
     else if (!(Input.GetKey(pullKey) || Input.GetKey(pushKey)))
     {
         beam.Deactivate();
     }
 }