You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
In my game, characters have abilities. I want to add icons to them. GDScript has the ability to add an icon to class:
And I want to reuse such icons in game, but I need to specify the path to the icon a second time separately.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
It would be nice to have the ability to get script icon. NariveScript already have script_class_icon_path property, but GDScript do not have any method to access used icon. I suppose this is becase the feature to specify an icon appeared relatively recently (in version 3.1).
If this enhancement will not be used often, can it be worked around with a few lines of script?
I can access source_code of Script and parse icon myself. But this is a bit hacky.
Is there a reason why this should be core and not an add-on in the asset library?
I think this is impossible without a corresponding API in the engine :)
The text was updated successfully, but these errors were encountered:
Describe the project you are working on
I working on third person shooter.
Describe the problem or limitation you are having in your project
In my game, characters have abilities. I want to add icons to them. GDScript has the ability to add an icon to class:
And I want to reuse such icons in game, but I need to specify the path to the icon a second time separately.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
It would be nice to have the ability to get script icon. NariveScript already have script_class_icon_path property, but GDScript do not have any method to access used icon. I suppose this is becase the feature to specify an icon appeared relatively recently (in version 3.1).
If this enhancement will not be used often, can it be worked around with a few lines of script?
I can access source_code of Script and parse icon myself. But this is a bit hacky.
Is there a reason why this should be core and not an add-on in the asset library?
I think this is impossible without a corresponding API in the engine :)
The text was updated successfully, but these errors were encountered: