URA0003: U# only supports single type generics¶
ID: URA0003 /
Category: UdonSharp /
Severity: Error
UdonSharp では、複数のタイプパラメータを取る Generics メソッドを使用することは出来ません。
代わりに、単数のタイプパラメータを取る Generics メソッドの使用を検討してください。
Example¶
using UdonSharp;
class ExampleClass : UdonSharpBehaviour
{
private void Update()
{
SomeMethod<int, int>(); // URA0003
}
}
Solution¶
using UdonSharp;
class ExampleClass : UdonSharpBehaviour
{
private void Update()
{
SomeMethod<int>(typeof(int));
}
}
最終更新日: 2021年5月9日 14:20:17