mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 22:27:45 +08:00
Fix NullReferenceException in some older Unity games
This commit is contained in:
parent
ee8f33a754
commit
c7d7569f71
@ -261,7 +261,7 @@ namespace UnityExplorer.CacheObject
|
|||||||
{
|
{
|
||||||
cell.NameLabel.text = NameLabelText;
|
cell.NameLabel.text = NameLabelText;
|
||||||
if (cell.HiddenNameLabel != null)
|
if (cell.HiddenNameLabel != null)
|
||||||
cell.HiddenNameLabel.Text = NameLabelTextRaw;
|
cell.HiddenNameLabel.Text = NameLabelTextRaw ?? string.Empty;
|
||||||
cell.ValueLabel.gameObject.SetActive(true);
|
cell.ValueLabel.gameObject.SetActive(true);
|
||||||
|
|
||||||
cell.SubContentHolder.gameObject.SetActive(SubContentShowWanted);
|
cell.SubContentHolder.gameObject.SetActive(SubContentShowWanted);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user