質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,11 +44,11 @@
|
|
44
44
|
|
45
45
|
//BookTitleの下にあるTextからInputFieldのTextコンポーネントを取得
|
46
46
|
|
47
|
-
Text input
|
47
|
+
Text inputField = GameObject.Find("BookTitle/Text").GetComponent<Text>();
|
48
48
|
|
49
49
|
//Text型をstring型に変換
|
50
50
|
|
51
|
-
string Title = input
|
51
|
+
string Title = inputField.text;
|
52
52
|
|
53
53
|
Debug.Log(Title);
|
54
54
|
|