I'm porting some scripts to iPhone, and I'm getting this oddness. Three places, all of which use this stuff, ex:
public List<CharacterElement> content;
Works fine PC/Mac (Pro). iPhone, not so much.
I'm porting some scripts to iPhone, and I'm getting this oddness. Three places, all of which use this stuff, ex:
public List<CharacterElement> content;
Works fine PC/Mac (Pro). iPhone, not so much.
Make sure you set the editor to target the newer version of .NET - by default it uses the old version, which doesn't support generics.
You should be able to change it here:
Edit > Project Settings > Player > Api Compatibility Level