We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow the sourcing of an icon from the members of a nested class or struct.
public class NestedStructureAsset : ScriptableObject { [AssetIcon(property = nameof(B.sprite))] public B customClass; }
If you require this feature, you can use a property as a workaround for accessing the child members.
public class NestedStructureAsset : ScriptableObject { public B customClass; [AssetIcon] private B icon => customClass.sprite; }
The text was updated successfully, but these errors were encountered:
Fydar
No branches or pull requests
Allow the sourcing of an icon from the members of a nested class or struct.
Workaround
If you require this feature, you can use a property as a workaround for accessing the child members.
The text was updated successfully, but these errors were encountered: