Add GDExtension support to Script
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
This commit is contained in:
parent
a5eed70fa2
commit
360dea5348
38 changed files with 2019 additions and 267 deletions
|
|
@ -282,7 +282,7 @@ void Range::_bind_methods() {
|
|||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "allow_greater"), "set_allow_greater", "is_greater_allowed");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::BOOL, "allow_lesser"), "set_allow_lesser", "is_lesser_allowed");
|
||||
|
||||
GDVIRTUAL_BIND(_value_changed);
|
||||
GDVIRTUAL_BIND(_value_changed, "new_value");
|
||||
|
||||
ADD_LINKED_PROPERTY("min_value", "value");
|
||||
ADD_LINKED_PROPERTY("min_value", "max_value");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue