Skip to content

馃憜 Drag and drop system#27

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions