mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 06:08:16 +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);
|
textureViewerRoot.SetActive(false);
|
||||||
toggleButton.ButtonText.text = "View Texture";
|
toggleButton.ButtonText.text = "View Texture";
|
||||||
|
|
||||||
ParentInspector.mainContentHolder.SetActive(true);
|
ParentInspector.ContentRoot.SetActive(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -85,7 +85,7 @@ namespace UnityExplorer.UI.Widgets
|
|||||||
textureViewerRoot.SetActive(true);
|
textureViewerRoot.SetActive(true);
|
||||||
toggleButton.ButtonText.text = "Hide Texture";
|
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)
|
if (this.UnityObjectRef)
|
||||||
{
|
{
|
||||||
nameInput.Text = UnityObjectRef.name;
|
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