Hi guys,
I seem to be having an issue with my trigger i dont know why but its not working for me. I checked the tag and it was correct, i made sure that only one object had the trigger and i ever added a debug log to see if it is colliding and it isnt. I dont know what is wrong.
Thank You
Script
using UnityEngine;
using System.Collections;
public class ScorePoint : MonoBehaviour {
void OnTriggerEnter2D(Collider2D coll){
if (coll.tag == "Player") {
Score.AddPoint();
gameObject.SetActive(false);
}
}
}