1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00
Files
godot/modules
Leonard Meagher f7eb426e2e Allow overriding how scripted objects are converted to strings
solves #26796

- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03 15:06:05 -07:00
..
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-04-01 12:33:56 +02:00
2019-01-28 06:29:39 +01:00
2019-01-01 12:58:10 +01:00
2019-01-01 12:58:10 +01:00
2019-02-27 07:45:57 +01:00
2019-04-01 12:33:56 +02:00
2019-04-01 12:33:56 +02:00
2019-01-01 12:58:10 +01:00
2019-04-01 12:33:56 +02:00
2019-03-22 23:31:25 +07:00
2019-04-01 12:33:56 +02:00
2019-04-01 12:33:56 +02:00
2019-03-04 13:13:33 +01:00