I want to modify an int variable on one script by having another script subtract 1 from it. But when I try to trigger this on an "enter" key press, nothing happens.

1st script:

```
public class spawnenemy : MonoBehaviour {

    public int enems = 1;

```

2nd script:

```
public class collisions : MonoBehaviour {

private spawnenemy enems;

void Start () {
    enems = gameObject.GetComponent<spawnenemy> ();

  }

void FixedUpdate(){
  if (Input.GetKey("enter")){
   enems.enems--;
 }
}

```

Thanks.