This topic is not available in your language. Therefore, the original version (ja-jp) is displayed.
VSC0005: Does not yet support initializer lists
| Property | Value | 
|---|---|
| ID | VSC0005 | 
| Category | Compiler | 
| Severity | Error | 
| Runtime Version | 3.1.0 ~ latest | 
| Compiler Version | 1.0.0 ~ latest | 
Does not yet support initializer lists
Example
Code with Diagnostic
using UdonSharp;
 
class TestBehaviour0 : UdonSharpBehaviour
{
    public void TestMethod()
    {
        var go = new GameObject { name = "Hello, World" };
                                ~~~~~~~~~~~~~~~~~~~~~~~~~
    }
}Code with Fix
// NOT YET PROVIDED