Sevdat Posted August 4 Posted August 4 Good evening, To solve this issiue this part must be added: public class Example { public string name; public Example(){} // this part public Example(string name){ this.name = name; } } Why is this required? public Example(){}
silent Posted August 6 Posted August 6 Please refer to this article: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/instance-constructors#parameterless-constructors >If you declare at least one instance constructor in a class, C# doesn't provide a parameterless constructor. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts