virtualx-engine/modules/gdnative/nativescript
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
..
api_generator.cpp Fix where json exported empty types 2019-04-07 11:54:44 +02:00
api_generator.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
godot_nativescript.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
nativescript.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
nativescript.h Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
register_types.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
register_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00