* Added unstrip fix for GetRootSceneObjects using Il2CPP internal call
This commit is contained in:
sinaioutlander
2020-10-09 21:11:15 +11:00
parent 35eb78ca5d
commit 867370ccee
15 changed files with 532 additions and 446 deletions

View File

@ -38,8 +38,6 @@ namespace Explorer.CacheObject
{
var fi = MemInfo as FieldInfo;
fi.SetValue(fi.IsStatic ? null : DeclaringInstance, IValue.Value);
base.SetValue();
}
}
}

View File

@ -126,10 +126,12 @@ namespace Explorer.CacheObject
GUIUnstrip.BeginHorizontal(new GUILayoutOption[0]);
GUI.skin.label.alignment = TextAnchor.MiddleCenter;
GUILayout.Label(i.ToString(), new GUILayoutOption[] { GUILayout.Width(15) });
this.m_argumentInput[i] = GUIUnstrip.TextField(input, new GUILayoutOption[] { GUILayout.Width(150) });
GUILayout.Label(label, new GUILayoutOption[] { GUILayout.ExpandWidth(false) });
this.m_argumentInput[i] = GUILayout.TextField(input, new GUILayoutOption[] { GUILayout.ExpandWidth(true) });
GUI.skin.label.alignment = TextAnchor.MiddleLeft;
GUILayout.Label(label, new GUILayoutOption[0]);
GUILayout.EndHorizontal();
}

View File

@ -53,8 +53,6 @@ namespace Explorer.CacheObject
var target = pi.GetAccessors()[0].IsStatic ? null : DeclaringInstance;
pi.SetValue(target, IValue.Value, ParseArguments());
base.SetValue();
}
}
}