com.iron-mountain.wayfinding
v1.1.7
Published
AI pathfinding with referencable waypoints
Downloads
20
Readme
Wayfinding
Version: 1.1.6
Description:
AI pathfinding with referencable waypoints
Package Mirrors:
Key Scripts & Components:
- public class Waypoint : MonoBehaviour
- Properties:
- public WaypointReference Reference { get; set; }
- public List Neighbors { get; }
- Methods:
- public void AddNeighbor(Waypoint neighbor)
- public void RemoveNeighbor(Waypoint neighbor)
- Properties:
- public static class WaypointManager
- public class WaypointReference : ScriptableObject
- Properties:
- public String ID { get; set; }
- public String Name { get; }
- Methods:
- public virtual void Reset()
- Properties:
- public class WaypointTraverser : MonoBehaviour
- Actions:
- public event Action OnMovingChanged
- public event Action OnCurrentWaypointChanged
- Properties:
- public float Speed { get; set; }
- public float Multiplier { get; set; }
- public Vector3 Offset { get; set; }
- public RotationType RotateWhenMoving { get; set; }
- public RotationType RotateWhenStationary { get; set; }
- public Transform LookAtTransform { get; set; }
- public float RotationMultiplier { get; set; }
- public Boolean Moving { get; }
- public Waypoint CurrentWaypoint { get; set; }
- public Waypoint DestinationWaypoint { get; set; }
- Methods:
- public void Initialize(Waypoint start, Waypoint destination)
- public Vector3 GetDirection()
- Actions:
- public class WaypointTraverserAnimator : MonoBehaviour
- Properties:
- public Boolean AnimatorBoolValue { get; }
- Methods:
- public void SetBool(Boolean value)
- Properties:
Data Structures
- public class FastPriorityQueueNode
- Properties:
- public float Priority { get; }
- public Int32 QueueIndex { get; }
- public Object Queue { get; }
- Properties:
- public class FastPriorityQueue`1
- Properties:
- public Int32 Count { get; }
- public Int32 MaxSize { get; }
- public T First { get; }
- Methods:
- public virtual void Clear()
- public virtual Boolean Contains(T node)
- public virtual void Enqueue(T node, float priority)
- public virtual T Dequeue()
- public virtual void Resize(Int32 maxNodes)
- public virtual void UpdatePriority(T node, float priority)
- public virtual void Remove(T node)
- public virtual void ResetNode(T node)
- public virtual IEnumerator`1 GetEnumerator()
- public Boolean IsValidQueue()
- Properties:
- public class GenericPriorityQueueNode`1
- Properties:
- public TPriority Priority { get; }
- public Int32 QueueIndex { get; }
- public Int64 InsertionIndex { get; }
- public Object Queue { get; }
- Properties:
- public class GenericPriorityQueue`2
- Properties:
- public Int32 Count { get; }
- public Int32 MaxSize { get; }
- public TItem First { get; }
- Methods:
- public virtual void Clear()
- public virtual Boolean Contains(TItem node)
- public virtual void Enqueue(TItem node, TPriority priority)
- public virtual TItem Dequeue()
- public virtual void Resize(Int32 maxNodes)
- public virtual void UpdatePriority(TItem node, TPriority priority)
- public virtual void Remove(TItem node)
- public virtual void ResetNode(TItem node)
- public virtual IEnumerator`1 GetEnumerator()
- public Boolean IsValidQueue()
- Properties:
- public interface IPriorityQueue`2
- Properties:
- public TItem First { get; }
- public Int32 Count { get; }
- Methods:
- public abstract void Enqueue(TItem node, TPriority priority)
- public abstract TItem Dequeue()
- public abstract void Clear()
- public abstract Boolean Contains(TItem node)
- public abstract void Remove(TItem node)
- public abstract void UpdatePriority(TItem node, TPriority priority)
- Properties:
- public class **SimplePriorityQueue
1** : SimplePriorityQueue
2 - public class SimplePriorityQueue`2
- Properties:
- public Int32 Count { get; }
- public TItem First { get; }
- Methods:
- public virtual void Clear()
- public virtual Boolean Contains(TItem item)
- public virtual TItem Dequeue()
- public virtual void Enqueue(TItem item, TPriority priority)
- public Boolean EnqueueWithoutDuplicates(TItem item, TPriority priority)
- public virtual void Remove(TItem item)
- public virtual void UpdatePriority(TItem item, TPriority priority)
- public TPriority GetPriority(TItem item)
- public Boolean TryFirst(TItem& first)
- public Boolean TryDequeue(TItem& first)
- public Boolean TryRemove(TItem item)
- public Boolean TryUpdatePriority(TItem item, TPriority priority)
- public Boolean TryGetPriority(TItem item, TPriority& priority)
- public virtual IEnumerator`1 GetEnumerator()
- public Boolean IsValidQueue()
- Properties:
- public class StablePriorityQueueNode : FastPriorityQueueNode
- Properties:
- public Int64 InsertionIndex { get; }
- Properties:
- public class StablePriorityQueue`1
- Properties:
- public Int32 Count { get; }
- public Int32 MaxSize { get; }
- public T First { get; }
- Methods:
- public virtual void Clear()
- public virtual Boolean Contains(T node)
- public virtual void Enqueue(T node, float priority)
- public virtual T Dequeue()
- public virtual void Resize(Int32 maxNodes)
- public virtual void UpdatePriority(T node, float priority)
- public virtual void Remove(T node)
- public virtual void ResetNode(T node)
- public virtual IEnumerator`1 GetEnumerator()
- public Boolean IsValidQueue()
- Properties: