You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of my upstream game engine only supports .net 2.0, is there any plan to
provide support for it?, as in jitter i can see it heavily using lingq.
Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 8:37
The text was updated successfully, but these errors were encountered:
Jitter isn't using linq at all. You can remove the "using linq" stuff from the
beginning of every file (its just IslandManager.cs).
Also compile with the "NET_20" flag so Jitter uses it own "HashSet"
implementation which is missing in 2.0.
To allow the compilation with .net 2.0 you have to add to your World.cs
something along the lines of:
#if NET_20
public delegate void Action<in T1, in T2>(
T1 arg1,
T2 arg2
);
#endif
Since .net 2.0 just provides a delegate Action<T> with a single generic
parameter. It would be nice if you could add this to jitter by default.
Hmm it may be even better to use something like:
#if NET_20
namespace System {
public delegate void Action<in T1, in T2>(
T1 arg1,
T2 arg2
);
}
#endif
This produces a warning if a project referencing jitter doesn't use .net 2.0,
although that shouldn't matter that much.
Original issue reported on code.google.com by
[email protected]
on 24 Jan 2012 at 8:37The text was updated successfully, but these errors were encountered: