AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.4k stars 289 forks source link

Resources don't seem to be drag and dropable in inspector #778

Closed Shadowblitz16 closed 4 years ago

Shadowblitz16 commented 4 years ago

Summary

Unlike the unity engine resources like pixmap are not assignable in the inspector by dragging and dropping.

How to reproduce

Workaround

I would guess its just not added as a feature yet and if thats the case this can be labeled suggestion

Attachments

deanljohnson commented 4 years ago

You need to use a ContentRef property. You can get more information from the corresponding docs.

ilexp commented 4 years ago

Yep, that should be it! Closing this, as @deanljohnson already gave the right pointers.