Discern between virtual and abstract class bindings
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
This commit is contained in:
@@ -53,10 +53,10 @@ void register_visual_script_types() {
|
||||
ScriptServer::register_language(visual_script_language);
|
||||
|
||||
GDREGISTER_CLASS(VisualScript);
|
||||
GDREGISTER_VIRTUAL_CLASS(VisualScriptNode);
|
||||
GDREGISTER_ABSTRACT_CLASS(VisualScriptNode);
|
||||
GDREGISTER_CLASS(VisualScriptFunctionState);
|
||||
GDREGISTER_CLASS(VisualScriptFunction);
|
||||
GDREGISTER_VIRTUAL_CLASS(VisualScriptLists);
|
||||
GDREGISTER_ABSTRACT_CLASS(VisualScriptLists);
|
||||
GDREGISTER_CLASS(VisualScriptComposeArray);
|
||||
GDREGISTER_CLASS(VisualScriptOperator);
|
||||
GDREGISTER_CLASS(VisualScriptVariableSet);
|
||||
|
||||
Reference in New Issue
Block a user