inkle / ink-unity-integration

Unity integration for the open source ink narrative scripting language.
http://www.inklestudios.com/ink
Other
570 stars 99 forks source link

Disabled specific warnings #158

Closed Pheubel closed 2 years ago

Pheubel commented 3 years ago

This PR is to help reduce the amount of messages in the error list. It is not the most graceful solution, but it keeps the original code in tact.

The commits have been separated by different warnings so that they can be looked at individually to determine if they should stay a repressed warning or if the code should be changed to take advantage of newer features.

As a side note, some functions have unused parameters. However this specific warning does not play well with being disabled and might have to be looked at a bit further. They can be found in Packages\Ink\Editor\Core\InkEditorUtils.cs, Packages\Ink\InkLibs\InkCompiler\StringParser\StringParser.cs and Packages\Ink\Editor\Core\Compiler\Auto Compiler\InkPostProcessor.cs.