![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | rinart73 |
![]() |
Old Version | Published before Godot 3 was released. |
There is methods in Theme, which allow to manipulate clear color of it:
void clear_color( String name, String type )
void set_color( String name, String type, Color color )
But there is no explanation of format of the first and second argument.
Can someone explain please?
For the reference, the (for now) almost empty class reference for Theme: Theme — Godot Engine (latest) documentation in English
It looks like those name
and type
arguments are used in almost all methods, so they probably refer to some components of the theme.
Akien | 2016-05-19 11:38
Edditing theme is way easier using the GUI than script.
http://docs.godotengine.org/en/latest/tutorials/2d/gui_skinning.html#creating-a-theme
Kermer | 2016-05-19 15:32
I’d like to know both ways to edit gui
rinart73 | 2016-05-19 15:38