1 using System.Collections;
2 using System.Collections.Generic;
5 public class BumperTrigger : MonoBehaviour
10 // Start is called before the first frame update
13 bumper.SetActive(false);
16 private void OnTriggerEnter2D(Collider2D other)
18 if(other.CompareTag("Player"))
20 bumper.SetActive(true);