Fix references for rename

This commit is contained in:
Sinai 2022-04-22 21:04:50 +10:00
parent 7e5246cead
commit 4d46b74d54
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ namespace UnityExplorer.UI.Widgets
textureViewerRoot.SetActive(false);
toggleButton.ButtonText.text = "View Texture";
ParentInspector.mainContentHolder.SetActive(true);
ParentInspector.ContentRoot.SetActive(true);
}
else
{
@ -85,7 +85,7 @@ namespace UnityExplorer.UI.Widgets
textureViewerRoot.SetActive(true);
toggleButton.ButtonText.text = "Hide Texture";
ParentInspector.mainContentHolder.gameObject.SetActive(false);
ParentInspector.ContentRoot.gameObject.SetActive(false);
}
}

View File

@ -80,7 +80,7 @@ namespace UnityExplorer.UI.Widgets
if (this.UnityObjectRef)
{
nameInput.Text = UnityObjectRef.name;
ParentInspector.Tab.TabText.text = $"{ParentInspector.currentBaseTabText} \"{UnityObjectRef.name}\"";
ParentInspector.Tab.TabText.text = $"{ParentInspector.TabButtonText} \"{UnityObjectRef.name}\"";
}
}