This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.

VSC0002: Local method declarations are not currently supported

PropertyValue
IDVSC0002
CategoryCompiler
SeverityError
Runtime Version3.1.0 ~ latest
Compiler Version1.0.0 ~ latest

Local method declarations are not currently supported

Example

Code with Diagnostic

using UdonSharp;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    private void Start()
    {
        void SomeLocalFunction() {}
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    }
}

Code with Fix

// NOT YET PROVIDED
VSC0002: Local method declarations are not currently supported / Udon Analyzer / Natsuneko Laboratory Docs