Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sixt

  • Rank
  • Birthday September 26
  1. Sorry for confusing post I mean that "if(collision.collider.gameObject.tag == "blue") doesn't work.
  2. Hi, I need help with "void OnCollisionEnter". I'm trying to change value of boolean when collision enters with "blue" tag. Other script changes "toggle" value to true before this script is executed. public bool toggle; void OnCollisionEnter(Collision collision) { if(toggle == true) { if(collision.collider.gameObject.tag == "blue") { //Change other boolen here } } }
  • Create New...