Skip to content
New issue

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

Naming conflict with TextMeshPro and their Extensions #110

Open
dexsper opened this issue Apr 25, 2024 · 0 comments
Open

Naming conflict with TextMeshPro and their Extensions #110

dexsper opened this issue Apr 25, 2024 · 0 comments

Comments

@dexsper
Copy link

dexsper commented Apr 25, 2024

Broken TextMeshPro Extensions

Extensions Text Mesh Pro
image image

You can use extension methods to extend a class or interface, but not to override them. An extension method with the same name and signature as an interface or class method will never be called. At compile time, extension methods always have lower priority than instance methods defined in the type itself.

In the current implementation, the extension method will be called only if the generic type is not equal to string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant