1
0
mirror of https://github.com/originalnicodr/CinematicUnityExplorer.git synced 2026-10-10 13:03:15 +08:00
This commit is contained in:
sinaioutlander
2020-08-07 22:47:31 +10:00
parent c177c12656
commit 6c6f06f600
2 changed files with 4 additions and 1 deletions
Binary file not shown.
+4 -1
View File
@@ -444,7 +444,10 @@ namespace Explorer
}
}
propInfo.SetValue(propInfo.GetAccessors()[0].IsStatic ? null : obj, m_value, null);
var declaring = propInfo.DeclaringType;
var cast = CppExplorer.Il2CppCast(obj, declaring);
propInfo.SetValue(propInfo.GetAccessors()[0].IsStatic ? null : cast, m_value, null);
}
catch
{