RimWorld Under the Hood: ThinkTree AI, Tick Scheduling & Region Pathfinding How RimWorld runs a colony of hundreds on Unity/C#: ThinkTree AI, an object-component world, staggered Rare/Long ticks, and A* pruned by a region-and-room graph.