Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhance] Prioritize node created from assets #222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Looooong
Copy link

For example, when drag&dropping asset into a graph, the node that implements ICreateNodeFrom<CustomRenderTexture> should be prioritized over the node that implements ICreateNodeFrom<Texture>, because CustomRenderTexture is the subclass of Texture.

BaseGraphView.nodeTypePerCreateAssetType is changed from Dictionary to SortedDictionary to support this behaviour.

@Looooong Looooong force-pushed the enhance/prioritize-node-created-from-assets branch from 76cd680 to 8f8b1f1 Compare September 26, 2022 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant