The AssetBrowser needs a way to support dragndrop of files into folders, the issue is that a file is also an asset and uses OfferAsset that doesn't come with the path/fileinfo for moving files around.
So we need DragnDrop to support multiple types, like
List offers = [
new AssetOffer(guid),
new ReferenceOffer(fileinfo)
]
DragnDrop.OfferComplex(offers)
Then 1 payload can store multiple things, so it can be dropped in as an asset to an inspector property field via the asset payload or into a folder via the fileinfo payload
The AssetBrowser needs a way to support dragndrop of files into folders, the issue is that a file is also an asset and uses OfferAsset that doesn't come with the path/fileinfo for moving files around.
So we need DragnDrop to support multiple types, like List offers = [
new AssetOffer(guid),
new ReferenceOffer(fileinfo)
]
DragnDrop.OfferComplex(offers)
Then 1 payload can store multiple things, so it can be dropped in as an asset to an inspector property field via the asset payload or into a folder via the fileinfo payload