This commit is contained in:
parent
6de99658f0
commit
b3546a72e2
|
@ -328,7 +328,7 @@ public class SearchName : MonoBehaviour
|
|||
{
|
||||
for (int i = 0; i < scrollViewContent.childCount; i++)
|
||||
{
|
||||
Destroy(scrollViewContent.GetChild(i).gameObject);
|
||||
DestroyImmediate(scrollViewContent.GetChild(i).gameObject);
|
||||
}
|
||||
|
||||
objs.Clear();
|
||||
|
@ -341,6 +341,7 @@ public class SearchName : MonoBehaviour
|
|||
scrollView.transform.Find("±íÍ·/Text (TMP)").GetComponent<TextMeshProUGUI>().text = searchType.ToString().Split('_')[0] + "Ãû³Æ";
|
||||
}
|
||||
|
||||
|
||||
private void Update()
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue