mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-15 13:57:31 +08:00
Fix references for rename
This commit is contained in:
parent
7e5246cead
commit
4d46b74d54
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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}\"";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user