protected override void UpdateState(BoundUserInterfaceState state)
        {
            base.UpdateState(state);

            if (!(state is BodyScannerInterfaceState scannerState))
            {
                return;
            }

            _template = scannerState.Template;
            _parts    = scannerState.Parts;

            _display.UpdateDisplay(_template, _parts);
        }
        protected override void UpdateState(BoundUserInterfaceState state)
        {
            base.UpdateState(state);

            if (state is not BodyScannerUIState scannerState)
            {
                return;
            }

            if (!Owner.Owner.EntityManager.TryGetEntity(scannerState.Uid, out _entity))
            {
                throw new ArgumentException($"Received an invalid entity with id {scannerState.Uid} for body scanner with id {Owner.Owner.Uid} at {Owner.Owner.Transform.MapPosition}");
            }

            _display.UpdateDisplay(_entity);
        }