You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, method overloading doesn't work. To support, method numbering would help, e.g. (extending the example in #73):
publicstructSimpleConstructedStruct{publicreadonlyfloatOutFloat;publicSimpleConstructedStruct(floatoutFloat){OutFloat=outFloat;}publicSimpleConstructedStructIncrement(){returnnewSimpleConstructedStruct(OutFloat+1.0f);}publicSimpleConstructedStructIncrement(floatamount){returnnewSimpleConstructedStruct(OutFloat+amount);}}
...SimpleConstructedStruct s =newSimpleConstructedStruct(1.0f);s=s.SimpleConstructedStruct();s=s.SimpleConstructedStruct(1.0f);
Currently, method overloading doesn't work. To support, method numbering would help, e.g. (extending the example in #73):
Should be written as:
The text was updated successfully, but these errors were encountered: