Skip to content

👆 Drag and drop system #27

@youarereadingthis

Description

@youarereadingthis

What would you like to add?

Some panels to easily make polished dragon drop shits.

Uses

The system should facilitate these examples:

  • Rearranging server rules in a NetList<string>.
  • Moving files between folders on a virtual computer.
  • Dragging a material onto something in the sandbox mode.
  • Item storage UI: 🍱 Inventory/container system #7

Panels

  • IDragItem: Allows components to interact with draggable panels.
  • Draggable: the actual panel being dragged.
    • May contain anything implementing IDragItem.
  • DraggableSlot: holds the draggable panels.
    • Ability to filter out draggables.
    • Allow quick swapping between stuff you're dragging.
  • DraggableGrid: contains slots. (inherit from VirtualGrid?)
    • Support adding/removing slots.

Examples

Make this stuff in the example project. Integrate commons into library.

  • Equipment/ability hotbar.
  • Minecraft style inventory.
  • Deus-Ex style puzzle inventory.
  • Drag a prop from the cloud into a scene.
  • Virtual computer system.

Metadata

Metadata

Labels

💡 FeatureThis is a feature request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions