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.

16 lines
605 B

  1. // Nav Mesh Data|Utilities|90090
  2. namespace VRTK
  3. {
  4. using UnityEngine;
  5. /// <summary>
  6. /// The Nav Mesh Data script allows custom nav mesh information to be provided to the teleporter script.
  7. /// </summary>
  8. [AddComponentMenu("VRTK/Scripts/Utilities/VRTK_NavMeshData")]
  9. public class VRTK_NavMeshData : MonoBehaviour
  10. {
  11. [Tooltip("The max distance given point can be outside the nav mesh to be considered valid.")]
  12. public float distanceLimit = 0.1f;
  13. [Tooltip("The parts of the navmesh that are considered valid")]
  14. public int validAreas = -1;
  15. }
  16. }