Polity Manager is a simple editor based tool designed to manage relations between factions and teams using a matrix, along with individual family relations through a node graph.Polity Manager is suited for games that needs to manage various groups of NPCs, especially when these relationships are a bit more complex, such as when one NPC needs to react to an enemy of one or more allied NPCs. However, it can also be applicable to simple teams or solo duels.The basis of the polity manager is the Polity Relation Matrix, which is a cell grid that displays relation of one faction to another based on their matrix position, similar to Unity's physics collision matrix.You can also expand each individual PolityMember for them to be connected not just by political affiliation, but by family, using the Member Family Graph.Changes to polity relations and factions also invoke events which objects that has PolityMember can subscribe to.Lightweight (most of the asset size is the example and can be removed)Can create as many polities as you wantCan create as many classes and factions inside that polityPolity factions can be added and removed at runtimePolityMembers can be categorized by their political affiliation and their family lineageDocumentation in XML and PDF to explain in detail each public method, struct and propertyI used ChatGPT for debugging and refactoring.