Activating Triggers

public class Death : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		//OnTriggerEnter(other);
	}

	void OnTriggerStay() { 
		Debug.Log("COOL");
	}
}

This is the code I am using just to ensure triggers are working properly when I touch a box collider in 2D. For some reason, it isn’t working. I have no clue where to start to get the triggers to work. Is this code incorrect?

Triggers are fairly easy to do. Just use a script like so:

function OnTriggerEnter () {
	print("Trigger Hit!!!");
}

Then on the inspector panel for the object you want to hit make sure isTrigger is checked.