示例#1
0
 void OnCollisionEnter2D(Collision2D other)
 {
     if (other.gameObject.tag == "Chave1")
     {
         pontuacao.AcaoChave1();
         Destroy(other.gameObject);
     }
 }