Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
513 B

  1. namespace Oculus.Platform.Samples.VrBoardGame
  2. {
  3. using UnityEngine;
  4. using System.Collections;
  5. // This behaviour is attached to GameObjects whose collision mesh
  6. // describes a specific position on the GameBoard. The collision
  7. // mesh doesn't need to fully cover the board position, but enough
  8. // for eye raycasts to detect that the user is looking there.
  9. public class BoardPosition : MonoBehaviour {
  10. [SerializeField] [Range(0,2)] public int x = 0;
  11. [SerializeField] [Range(0,2)] public int y = 0;
  12. }
  13. }