Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Accepts an unmanaged payload on the most recently submitted item.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public bool InnoEditor.ImGui.ImGuiWidget.DragDropTarget<TPayload>(string payloadType, out TPayload payload) where TPayload : struct

Type parameter TPayload: Unmanaged payload type.

Parameter payloadType: Stable ImGui payload type identifier.

Parameter payload: Delivered payload value.

true only when a compatible payload is delivered.