I exported a class in class library from my ASP.NET Core project to my game folder like that:> copy SharedLibrary.dll $(OutDir)C:\Main\Game\Assets\DLLs\SharedLibrary.dll
Here is my class code:
namespace SharedLibrary
{
public class RegModel
{
public string? UserMail { get; set; }
public string? UserPass { get; set; }
}
}
After I'm using in a script but I got these errors.
![alt text][1]
[1]: /storage/temp/200547-resim-2022-10-07-213144308.png
How can I fix that?
↧