コンテンツにスキップ

URA0010: Default expressions are not yet supported by UdonSharp

ID: URA0010 / Category: UdonSharp / Severity: Error

UdonSharp では現時点で default 式のサポートはされていません。

Example

using UdonSharp;

class ExampleClass : UdonSharpBehaviour
{
    private int _initValue = default(int); // URA0010
}

Solution

using UdonSharp;

class ExampleClass : UdonSharpBehaviour
{
    private int _initValue = 0;
}

最終更新日: 2021年5月9日 14:20:17