1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00

misc fixes

This commit is contained in:
Michael Lidgren
2015-09-27 10:51:53 +02:00
parent c42b885e1f
commit 1c1fc902f3
3 changed files with 3 additions and 5 deletions

View File

@@ -78,11 +78,7 @@ namespace Lidgren.Network
foreach (PropertyInfo fi in fields)
{
#if UNITY_WEBPLAYER || UNITY_4_5
MethodInfo getMethod = fi.GetGetMethod();
#else
MethodInfo getMethod = fi.GetMethod;
#endif
if (getMethod != null)
{
object value = getMethod.Invoke(ob, null);