Closed Cerzi closed 4 years ago
String interpolation is not used as it is a C# 6.0 feature and the project has not yet been updated to use never features as far as I know.
I might be wrong on this but the project has .NET framework 4.x set in its player settings which should mean C# 6.0 is available.
Can just remove that commit if that suits as the rich text fix is at least useful
I personally don't mind as I use string interpolation myself in my projects, just highlighting that as far as I know not everything has been properly moved over.
Moving forward, I think we can merge this and if anybody has issues they can always revert back to a previous version on master.
Noticed that BMSLogger uses rich text tags to colorize Debug/Warning/Error logs differently, but the OnGUI call wasn't using a richtext style so the tags were being printed unparsed.
Fixed that and also made a small cleanup by use string interpolation instead of string.Format