private void OnCollisionEnter(Collision other) { if (other.GetContact(0).normal.Equals(Vector3.down)) { if (!events.getState().WallEventActive) { ButtonClickSource.Play(); anim.enabled = true; events.ChangeWallState(true); } } }