Relative Content

Tag Archive for c#visual-studio-2022

Got stuck in code whit Error that I don’t understand

When I was coding, got this failure
Severity Code Description Project File Line Suppression State
Error (active) E0304 no instance of overloaded function “TArray<InElementType, InAllocator>::Add [with InElementType=ASnakeElementBase, InAllocator=FDefaultAllocator]” matches the argument list Snake 29

Unknown solution

I’m currently trying to make an RPG inside a console, using Visual Studio 2022 (C#), and I now created 3 scripts, 1 for the Race, one for the Class, and another one to merge both (increasing / decreasing stats).PlayerRace scriptPlayerClass scriptfinal Player script.
Help would really be nice.