You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
GetSetMethod instead of SetMethod
This commit is contained in:
@@ -93,11 +93,7 @@ namespace Lidgren.Network
|
||||
value = readMethod.Invoke(this, null);
|
||||
|
||||
// set the value
|
||||
#if UNITY_WEBPLAYER || UNITY_4_5
|
||||
var setMethod = fi.GetSetMethod();
|
||||
#else
|
||||
var setMethod = fi.SetMethod;
|
||||
#endif
|
||||
if (setMethod != null)
|
||||
setMethod.Invoke(target, new object[] { value });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user