-
-
Notifications
You must be signed in to change notification settings - Fork 246
Closed
Labels
c: coreCore componentsCore componentsfeatureAdds functionality to the libraryAdds functionality to the library
Description
Currently there is no way to create a callable (from gdext or gdscript) from a static method of a gdext's class.
Gdext's Callable has no constructor for static methods (Callable).
Gdscript returns an error when trying to use a callable from a static method:
func _ready():
Test.static_method()
Test.static_method.call() # Error
MRP
Steps
Compile rust code in rust/
Run main.tscn
Metadata
Metadata
Assignees
Labels
c: coreCore componentsCore componentsfeatureAdds functionality to the libraryAdds functionality to the library