ZString icon indicating copy to clipboard operation
ZString copied to clipboard

Naming conflict with TextMeshPro and their Extensions

Open dexsper opened this issue 1 year ago • 1 comments

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

dexsper avatar Apr 25 '24 18:04 dexsper

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Oct 23 '24 00:10 github-actions[bot]