mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2026-10-10 04:03:13 +08:00
Fix NullReferenceException in some older Unity games
This commit is contained in:
@@ -261,7 +261,7 @@ namespace UnityExplorer.CacheObject
|
||||
{
|
||||
cell.NameLabel.text = NameLabelText;
|
||||
if (cell.HiddenNameLabel != null)
|
||||
cell.HiddenNameLabel.Text = NameLabelTextRaw;
|
||||
cell.HiddenNameLabel.Text = NameLabelTextRaw ?? string.Empty;
|
||||
cell.ValueLabel.gameObject.SetActive(true);
|
||||
|
||||
cell.SubContentHolder.gameObject.SetActive(SubContentShowWanted);
|
||||
|
||||
Reference in New Issue
Block a user