Question by
mid0ri · Mar 08, 2016 at 02:49 AM ·
ontriggerenter2d
OnTriggerEnter2d Not working
this is my script using UnityEngine; using System.Collections;
public class CheckpointScript : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter2d(Collider2D collider){
Debug.Log ("collide detected");
}
} 
error.jpg
(213.5 kB)
Comment
Best Answer
Answer by mid0ri · Mar 08, 2016 at 02:53 AM
Wow this was so dumb it's suppose to be OnTriggerEnter2D. the "d" is cap
Your answer