Class SceneNavMeshCatalogue
- Namespace
- FishMMO.Server.Implementation.World.SceneServer.Navigation
- Assembly
- FishMMO.Server.dll
The baked NavMesh of every world scene, by scene name.
public class SceneNavMeshCatalogue : ScriptableObject
- Inheritance
-
ObjectScriptableObjectSceneNavMeshCatalogue
- Inherited Members
-
ScriptableObject.SetDirty()ScriptableObject.CreateInstance<T>()Object.GetEntityId()Object.MemberwiseClone()Object.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.FindObjectsByType<T>()Object.FindObjectsByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Remarks
NavMeshes ship to the scene server only. A scene keeps its NavMeshSurface for authoring (the bake
settings, the bake button, the editor's view of the mesh), but builds and play mode strip the surface, so
the scene never carries its data. The data reaches the server through this catalogue instead: it is
referenced by NavMeshSystem, and both, with every NavMesh asset, are explicit entries in the
server-only addressables group that client builds drop.
The editor keeps it in step: a scene's entry is written when it is saved with a baked surface, and when a generated scene is baked.
Fields
Entries
One entry per world scene with a NavMesh.
public List<SceneNavMeshCatalogue.Entry> Entries
Field Value
Methods
Invalidate()
Drops the lookup after the entries change.
public void Invalidate()
TryGet(string, out Entry)
The NavMesh baked for sceneName, if there is one.
public bool TryGet(string sceneName, out SceneNavMeshCatalogue.Entry entry)
Parameters
sceneNamestringentrySceneNavMeshCatalogue.Entry