Hello,
I just spend hours on internet to find why functions are not working but I didn’t find answer. Functions looks like that:
void OnTriggerEnter2D (Collider2D col) {
Debug.Log (" It is Working!!“);
if (col.gameObject.tag == “ScoreChecker”) {
Debug.Log (” It is Working!!");
}
}
void OnTriggerExit2D (Collider2D col) {
Debug.Log (" It is Working!!");
if (col.gameObject.tag == "ScoreChecker") {
}
}
And screenshots of Ball and Trigger:

var collision = ammo.GetComponent<ParticleSystem>().collision; collision.collidesWith = desiredLayers; This is the correct code if you want to assign a new value to the collidesWith property in the particle system collision module (as per the docs, in the Update function in the example).
– richardkettlewell