/// <summary> /// Gets the drag data. /// </summary> /// <param name="item">The item.</param> /// <returns>The data.</returns> public static DragDataText GetDragData(AssetItem item) { return(DragItems.GetDragData(item)); }
/// <summary> /// Gets the drag data. /// </summary> /// <param name="items">The items.</param> /// <returns>The data.</returns> public static DragDataText GetDragData(IEnumerable <AssetItem> items) { return(DragItems.GetDragData(items)); }
/// <summary> /// Gets the drag data (finds asset item). /// </summary> /// <param name="asset">The asset.</param> /// <returns>The data.</returns> public static DragDataText GetDragData(Asset asset) { return(DragItems.GetDragData(Editor.Instance.ContentDatabase.Find(asset.ID))); }