Synced
AssetReferenceDropTarget
Section titled “AssetReferenceDropTarget”
- Borrows an asset property’s type and assignment callback for one synchronous drop request.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Editor.Panel.Inspector
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Inspection.AssetReferenceDropTargetRemarks
Section titled “Remarks”Recreate this target for each presentation request. Its type and callback must not be retained across frames or extension generations, or included in History or persistent state.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | AssetReferenceDropTarget.Constructor | Creates a drop target that validates an asset type and assigns its persistent identity to a property. |
| Methods | AssetReferenceDropTarget.Assign | Assigns a persistent asset identity to the represented property. |
| Properties | AssetReferenceDropTarget.expectedType | Gets the required asset type. |