質問編集履歴

2

誤字を訂正

2020/10/04 01:34

投稿

javascripter
javascripter

スコア12

test CHANGED
File without changes
test CHANGED
@@ -68,7 +68,7 @@
68
68
 
69
69
 
70
70
 
71
- GameObject messagetext = obj1.transform.Find("messagetext").gameObject;
71
+ GameObject messagetext = obj.transform.Find("messagetext").gameObject;
72
72
 
73
73
  Text text1 = messagetext.GetComponentInChildren<Text>();
74
74
 
@@ -76,7 +76,7 @@
76
76
 
77
77
 
78
78
 
79
- GameObject time = obj1.transform.Find("time").gameObject;
79
+ GameObject time = obj.transform.Find("time").gameObject;
80
80
 
81
81
  Text text2 = time.GetComponentInChildren<Text>();
82
82
 

1

護持を訂正

2020/10/04 01:34

投稿

javascripter
javascripter

スコア12

test CHANGED
File without changes
test CHANGED
@@ -30,15 +30,15 @@
30
30
 
31
31
      //プレハブ化したオブジェクトにアクセス
32
32
 
33
- massage = (GameObject)Resources.Load("message");
33
+ message = (GameObject)Resources.Load("message");
34
34
 
35
35
 
36
36
 
37
37
  inputtext = messageinput.GetComponentInChildren<Text>();
38
38
 
39
- massageparent = inputtext.transform.parent.gameObject;
39
+ messageparent = inputtext.transform.parent.gameObject;
40
40
 
41
- form = massageparent.GetComponent<InputField>();
41
+ form = messageparent.GetComponent<InputField>();
42
42
 
43
43
 
44
44
 
@@ -60,9 +60,9 @@
60
60
 
61
61
 
62
62
 
63
- GameObject obj = Instantiate(massage);
63
+ GameObject obj = Instantiate(message);
64
64
 
65
- obj.name = "massage" + ID;
65
+ obj.name = "message" + ID;
66
66
 
67
67
  obj.transform.parent = list.transform;
68
68
 
@@ -100,9 +100,9 @@
100
100
 
101
101
 
102
102
 
103
- GameObject obj = Instantiate(massage);
103
+ GameObject obj = Instantiate(message);
104
104
 
105
- obj.name = "massage" + cun;
105
+ obj.name = "message" + cun;
106
106
 
107
107
  obj.transform.parent = list.transform;
108
108