// Start is called before the first frame update
 void OnTriggerEnter2D(Collider2D other)
 {
     shaker.CamShake();
     if (other.CompareTag("Player"))
     {
         Instantiate(effect, transform.position, Quaternion.identity);
         //player takes damage
         //need to add public int health * 3; to player script
         //add health to player inspector
         //add player tag to player on inspector
         other.GetComponent <Player>().health -= damage;
         Debug.Log(other.GetComponent <Player>().health);
         Destroy(gameObject);
     }
 }