Exemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (DisableOnCollide)
     {
         gameObject.SetActive(false);
     }
     parent.ActionCall();
 }