teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

内容の編集

2020/04/08 09:33

投稿

29507-01
29507-01

スコア46

title CHANGED
File without changes
body CHANGED
@@ -9,12 +9,13 @@
9
9
 
10
10
  ```Unity 2018.2.5f1
11
11
 
12
+ Scrollsw = Node_Text.text;
12
13
  img_obj = GameObject.Find("Node(Clone)");
13
14
  foreach (Transform n in img_obj.transform)
14
15
  {
15
16
  var text = img_obj.GetComponentInChildren<Text>();
16
- Text aas = text;
17
+ ;
17
- if (aas.text == Node_Text.text)
18
+ if (Scrollsw == Node_Text.text)
18
19
  {
19
20
  GameObject.Destroy(n.gameObject);
20
21
  }