Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void OnCollisionEnter(Collision collision)
- {
- Debug.Log("collision detected");
- if (collision.transform.gameObject.tag == "fish")
- {
- GUI.Box(new Rect(0, 0, 100, 100), information);
- }
- //if (collision.transform.gameObject == controller[0] && device[0].GetPressDown(EVRButtonId.k_EButton_A))
- //{
- // GUI.Box(new Rect(0, 0, 100, 100), information);
- //}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement