mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[doc] Use "param" instead of "code" to refer to parameters (6)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<return type="void" />
|
||||
<param index="0" name="menu_node" type="Object" />
|
||||
<description>
|
||||
This virtual method is called when updating the context menu of [EditorResourcePicker]. Implement this method to override the "New ..." items with your own options. [code]menu_node[/code] is a reference to the [PopupMenu] node.
|
||||
This virtual method is called when updating the context menu of [EditorResourcePicker]. Implement this method to override the "New ..." items with your own options. [param menu_node] is a reference to the [PopupMenu] node.
|
||||
[b]Note:[/b] Implement [method _handle_menu_selected] to handle these custom items.
|
||||
</description>
|
||||
</method>
|
||||
@@ -64,7 +64,7 @@
|
||||
<param index="0" name="resource" type="Resource" />
|
||||
<param index="1" name="edit" type="bool" />
|
||||
<description>
|
||||
Emitted when the resource value was set and user clicked to edit it. When [code]edit[/code] is [code]true[/code], the signal was caused by the context menu "Edit" option.
|
||||
Emitted when the resource value was set and user clicked to edit it. When [param edit] is [code]true[/code], the signal was caused by the context menu "Edit" option.
|
||||
</description>
|
||||
</signal>
|
||||
</signals>
|
||||
|
||||
Reference in New Issue
Block a user