mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Document Object.get_class()/is_class() ignores class_name declaration
(cherry picked from commit a15847e5ca)
This commit is contained in:
committed by
Rémi Verschelde
parent
348152b3c9
commit
3872986f1f
@@ -182,7 +182,8 @@
|
||||
<method name="get_class" qualifiers="const">
|
||||
<return type="String" />
|
||||
<description>
|
||||
Returns the object's class as a [String].
|
||||
Returns the object's class as a [String]. See also [method is_class].
|
||||
[b]Note:[/b] [method get_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, the base class name will be returned instead.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_incoming_connections" qualifiers="const">
|
||||
@@ -292,7 +293,8 @@
|
||||
<return type="bool" />
|
||||
<argument index="0" name="class" type="String" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the object inherits from the given [code]class[/code].
|
||||
Returns [code]true[/code] if the object inherits from the given [code]class[/code]. See also [method get_class].
|
||||
[b]Note:[/b] [method is_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, [method is_class] will return [code]false[/code] for that name.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_connected" qualifiers="const">
|
||||
|
||||
Reference in New Issue
Block a user