Hi, let’s say I create a game with free asset items, I`m allowed to sell the game, knowing that I used those items?
1 Answer
1Glad I could help :) To help debug something like this in the future, pay attention to the return types. Your error explains everything You were trying to assign a String to a List, rather than an element in the list.
– commodore
Check the EULA and Asset Licenses. You'll have to read something. Not a suitable question for UA. Such discussions should go on the forum.
– meat5000The problem is scope. The variable
– VicariantextNamehas class scope, so the statementtextName = GUILayout.TextField(tn);attempts to assign a singlestringto an object of typeList<string>. That won't ever work, unless you use something like PHP or JavaScript with their magic variables. I'm not sure exactly what you're trying to do with GuiLayout.TextField, but as written, it's incorrect. Perhaps your usage oftextNamein the line above is supposed to be a field you've declared for display?