VRTK_NavMeshData.cs 605 B

1234567891011121314151617
  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. }