You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Updates docs for GDScript built-in functions
* Adds description for `ord()` * Adds relationship description between `char()` and `ord()` * Describes the argument of `char()` as Unicode code point instead of ASCII code * Fixes wrong interval notation in `randi()` description
This commit is contained in:
@@ -1855,7 +1855,7 @@ MethodInfo GDScriptFunctions::get_info(Function p_func) {
|
||||
} break;
|
||||
case TEXT_CHAR: {
|
||||
|
||||
MethodInfo mi("char", PropertyInfo(Variant::INT, "ascii"));
|
||||
MethodInfo mi("char", PropertyInfo(Variant::INT, "code"));
|
||||
mi.return_val.type = Variant::STRING;
|
||||
return mi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user