mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #62814 from KoBeWi/strint
Restore numeric from String constructors
This commit is contained in:
@@ -52,6 +52,13 @@
|
||||
Constructs an [int] as a copy of the given [int].
|
||||
</description>
|
||||
</constructor>
|
||||
<constructor name="int">
|
||||
<return type="int" />
|
||||
<param index="0" name="from" type="String" />
|
||||
<description>
|
||||
Converts a [String] to an [int], following the same rules as [method String.to_int].
|
||||
</description>
|
||||
</constructor>
|
||||
<constructor name="int">
|
||||
<return type="int" />
|
||||
<param index="0" name="from" type="bool" />
|
||||
|
||||
Reference in New Issue
Block a user