Class NavMeshPrefabInstance
Associate existing NavMesh data to a prefab
Inheritance
NavMeshPrefabInstance
Syntax
[ExecuteInEditMode]
[DefaultExecutionOrder(-102)]
public class NavMeshPrefabInstance : MonoBehaviour
Properties
Declaration
public bool followTransform { get; set; }
Property Value
navMeshData
Declaration
public NavMeshData navMeshData { get; set; }
Property Value
trackedInstances
Declaration
public static List<NavMeshPrefabInstance> trackedInstances { get; }
Property Value
Methods
UpdateInstance()
Update NavMeshData instance with the current position and rotation
Declaration
public void UpdateInstance()