mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 14:17:51 +08:00
Fix for Canvas.renderingDisplaySize crash
This commit is contained in:
parent
fae85c2968
commit
28de6779d8
@ -79,7 +79,6 @@ namespace UnityExplorer.CacheObject
|
|||||||
public override void TrySetUserValue(object value)
|
public override void TrySetUserValue(object value)
|
||||||
{
|
{
|
||||||
TrySetValue(value);
|
TrySetValue(value);
|
||||||
|
|
||||||
Evaluate();
|
Evaluate();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -246,7 +245,7 @@ namespace UnityExplorer.CacheObject
|
|||||||
|
|
||||||
var sig = GetSig(member);
|
var sig = GetSig(member);
|
||||||
|
|
||||||
//ExplorerCore.Log($"Trying to cache member {sig}...");
|
//ExplorerCore.Log($"Trying to cache member {sig}... ({member.MemberType})");
|
||||||
|
|
||||||
CacheMember cached;
|
CacheMember cached;
|
||||||
Type returnType;
|
Type returnType;
|
||||||
@ -311,7 +310,6 @@ namespace UnityExplorer.CacheObject
|
|||||||
|
|
||||||
cachedSigs.Add(sig);
|
cachedSigs.Add(sig);
|
||||||
|
|
||||||
//cached.Initialize(_inspector, declaringType, member, returnType);
|
|
||||||
cached.SetFallbackType(returnType);
|
cached.SetFallbackType(returnType);
|
||||||
cached.SetInspectorOwner(_inspector, member);
|
cached.SetInspectorOwner(_inspector, member);
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ using System.Diagnostics.CodeAnalysis;
|
|||||||
using UnityExplorer.Core;
|
using UnityExplorer.Core;
|
||||||
using CppType = Il2CppSystem.Type;
|
using CppType = Il2CppSystem.Type;
|
||||||
using BF = System.Reflection.BindingFlags;
|
using BF = System.Reflection.BindingFlags;
|
||||||
using UnityExplorer.Core.Config;
|
|
||||||
using UnhollowerBaseLib.Attributes;
|
using UnhollowerBaseLib.Attributes;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
@ -562,6 +561,7 @@ namespace UnityExplorer
|
|||||||
"UnityEngine.Audio.AudioMixerPlayable.Create",
|
"UnityEngine.Audio.AudioMixerPlayable.Create",
|
||||||
"UnityEngine.BoxcastCommand.ScheduleBatch",
|
"UnityEngine.BoxcastCommand.ScheduleBatch",
|
||||||
"UnityEngine.Camera.CalculateProjectionMatrixFromPhysicalProperties",
|
"UnityEngine.Camera.CalculateProjectionMatrixFromPhysicalProperties",
|
||||||
|
"UnityEngine.Canvas.renderingDisplaySize",
|
||||||
"UnityEngine.CapsulecastCommand.ScheduleBatch",
|
"UnityEngine.CapsulecastCommand.ScheduleBatch",
|
||||||
"UnityEngine.Collider2D.Cast",
|
"UnityEngine.Collider2D.Cast",
|
||||||
"UnityEngine.Collider2D.Raycast",
|
"UnityEngine.Collider2D.Raycast",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user