2D Toolkit Forum

2D Toolkit => Support => Topic started by: FZGames on June 03, 2019, 12:21:44 am

Title: `null propagating operator' cannot be used because it is not part of C# 4.0
Post by: FZGames on June 03, 2019, 12:21:44 am
I updated 2D Toolkit to the latest version and now I get this error, repeatedly:

error CS1644: Feature `null propagating operator' cannot be used because it is not part of the C# 4.0 language specification

I have no idea what this is but I could do with this working...!
Title: Re: `null propagating operator' cannot be used because it is not part of C# 4.0
Post by: colorbat on June 06, 2019, 09:58:10 am
Hi,

Scripting Runtime Version switch to .NET 4.x Equivalent, then the issue will be gone.

(https://i.imgur.com/Q5OptDE.png)
Title: Re: `null propagating operator' cannot be used because it is not part of C# 4.0
Post by: FZGames on June 13, 2019, 11:59:27 pm
Hey that worked great! Thanks very much!