I
I
Ilya Smirnov2016-11-01 15:53:53
Unity
Ilya Smirnov, 2016-11-01 15:53:53

Got error c1061 in the Unity compiler?

vAWX54BIkvlMGr.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-11-02
@Googoogoogoose

Well, yes, you have an error in the code
. It should be like this:

void OnTriggerEnter(Collider other)
{
  if(other.CompareTag("Untagged"))
  {
    other.gameObject.SetActive(false);
  }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question