private void HighlightContainer(ContainerModule container)
        {
            ContainerUsefulness usefulness = UsefulContainerEntityFilter.Check(container);

            if (TryMakeContainerSilhouette(usefulness, out var silhouette))
            {
                _hoverData.AddCommand(new SilhouetteCommand(container.Entity.Actor.gameObject, silhouette));
            }
        }
 public IEnumerable <Container> EnumerateContainers()
 {
     foreach (var entity in Entities)
     {
         ContainerModule container = entity.Entity.GetModule <ContainerModule>();
         if (container)
         {
             ContainerUsefulness usefulness = UsefulContainerEntityFilter.Check(container);
             yield return(new Container(entity, container, usefulness));
         }
     }
 }