File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ Label.Align.ALIGN_LEFT | godot.Label.Align.ALIGN_LEFT
99
99
- ` godot.register_signal(cls, signal_name) ` to register signals
100
100
- ` godot.register_property(cls, name, default_value) ` to define and export properties
101
101
- ` godot.register_class(cls, name) ` to register named class manually
102
- - ` godot.set_script_tooled(tooled) ` to set ` tooled ` of the class
103
- - ` godot.set_script_icon(path) ` to set icon of the class
102
+ - ` godot.set_script_tooled(cls, tooled) ` to set ` tooled ` of the class
103
+ - ` godot.set_script_icon(cls, path) ` to set icon of the class
104
104
- ` godot.get_type(val) ` Returns the internal type of the given ` Variant ` object, using the ` godot.TYPE_* `
105
105
- ` requestAnimationFrame(callback) ` to add a callback function to be called every frame
106
106
- ` cancelAnimationFrame(request_id) ` to cancel an frame request previously scheduled
Original file line number Diff line number Diff line change @@ -163,9 +163,15 @@ declare module godot {
163
163
* The meta data of an script
164
164
* @param target The script class
165
165
* @param tool is tooled of this class
166
+ */
167
+ function set_script_tooled ( target : GodotClass , tool : boolean ) ;
168
+
169
+ /**
170
+ * The meta data of an script
171
+ * @param target The script class
166
172
* @param icon The icon of the class
167
173
*/
168
- function set_script_meta ( target : GodotClass , tool : boolean , icon ? : string ) ;
174
+ function set_script_icon ( target : GodotClass , icon : string ) ;
169
175
170
176
/**
171
177
* Returns the internal type of the given `Variant` object, using the `godot.TYPE_*`
You can’t perform that action at this time.
0 commit comments