protected override void OnDeconstruct()
 {
     if (this.pathfindingInstance != null)
     {
         this.pathfindingInstance.Recycle();
     }
     this.pathfindingInstance = null;
     ComponentsInitializerWorld.UnRegister(PathfindingComponentsInitializer.InitEntity);
 }
 protected override void OnDeconstruct()
 {
     ComponentsInitializerWorld.UnRegister(PathfindingComponentsInitializer.InitEntity);
 }