This is what I want to do:
void OnTriggerEnter(Collider other) {
if (other.gameObject.CompareTag ("crap")) {
other.gameObject.SetActive (false);
I can get ontriggerenter to set the other as a temp gameobject variable. I can clear it so it loops correctly. I can get the if statement part. But the Set Property action doesn't work with variable gameobjects, only gameobjects in your scene.
What can I do?