We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0
Windows 10
When class A derives from a generic superclass, B the virtual methods such as _Ready that were overriden on B are not being invoked.
_Ready
I noticed this when writing said superclass on a library project, and trying to use it on my godot project.
First, define the superclass like so in an external project (outside res):
res
namespace MyLibrary { public partial class Cursor2D : Node2D { public override void _Ready() { <Some log message here> } }
Second, define the subclass like so:
public partial class MyCursor2D : MyLibrary.Cursor2D { }
Now if you were to run the project, you would not see the log message printed.
N/A
The text was updated successfully, but these errors were encountered:
Missing an MRP, but the library project is likely just not setup correctly for this to work.
Sorry, something went wrong.
No branches or pull requests
Godot version
4.0
System information
Windows 10
Issue description
When class A derives from a generic superclass, B the virtual methods such as
_Ready
that were overriden on B are not being invoked.I noticed this when writing said superclass on a library project, and trying to use it on my godot project.
Steps to reproduce
First, define the superclass like so in an external project (outside
res
):Second, define the subclass like so:
Now if you were to run the project, you would not see the log message printed.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: