Hello i’m encountering this 2 problem with my Project. I don’t know what to do i’m totally new in C# Script.
http://i.imgur.com/7TNat4C.png , http://i.imgur.com/3Baf2Vl.png
The problem is exactly as the error message says : informations is a List<Information>,
and tmpInfo is just an Information
instance. So Information tmpInfo = informations
doesn’t make any sense, because they’re not the same type.
It should actually be Information tmpInfo = informations[0]
or something like that. You need to assign an element of informations to tmpInfo, not informations itself.