Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
void OnCollisionEnter(Collision other) { if (other.gameObject.tag == "Obstacle") { Destroy(other.gameObject); Destroy(gameObject); score.AddBonusPoints(); } }