public static PathfindingNodeProcessor GetInstance() { if (instance == null) instance = new PathfindingNodeProcessor(); return instance; }