Indexed Priority Queue (C# / Unity)

A Generic priority Queue with random access to its elements. I have found this to be an excellent data structure for use within A* search algorithms.